:root {
  --nacef-primary: #0B4969;
  --nacef-primary-900: #04283b;
  --nacef-primary-800: #06354d;
  --nacef-primary-700: #073f5b;
  --nacef-primary-600: #0e5d83;
  --nacef-primary-050: #f4f9fb;
  --nacef-accent: #c9a24f;
  --nacef-cyan: #69d7ff;
  --nacef-text: #102a3a;
  --nacef-text-soft: #405866;
  --nacef-muted: #718391;
  --nacef-border: #d8e5ea;
  --nacef-danger: #b42318;
  --nacef-danger-bg: #fff5f3;
  --nacef-radius-md: 16px;
  --nacef-radius-xl: 34px;
  --nacef-shadow-main: 0 36px 95px rgba(3, 32, 48, 0.34);
  --nacef-shadow-button: 0 18px 36px rgba(11, 73, 105, 0.32);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

html {
  background: var(--nacef-primary-900) !important;
}

body.login {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  position: relative;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  background:
    radial-gradient(circle at 12% 10%, rgba(255,255,255,0.18), transparent 28%),
    radial-gradient(circle at 82% 82%, rgba(201,162,79,0.16), transparent 26%),
    linear-gradient(135deg, #032638 0%, #0B4969 48%, #041f2f 100%) !important;
}

body.login::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    linear-gradient(rgba(255,255,255,0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.045) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,0.94), transparent 92%);
  mask-image: linear-gradient(to bottom, rgba(0,0,0,0.94), transparent 92%);
  pointer-events: none;
  z-index: 0;
}

body.login::after {
  content: "";
  position: fixed;
  width: 780px;
  height: 780px;
  right: -320px;
  bottom: -340px;
  background:
    radial-gradient(circle, rgba(201,162,79,0.20), transparent 62%),
    radial-gradient(circle, rgba(255,255,255,0.12), transparent 70%);
  filter: blur(10px);
  pointer-events: none;
  z-index: 0;
}

body.login #login {
  position: absolute !important;
  left: -99999px !important;
  top: auto !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

body.login .language-switcher,
body.login #backtoblog {
  display: none !important;
}

#nacef-login-root,
#nacef-login-root * {
  box-sizing: border-box;
}

#nacef-login-root {
  position: relative;
  z-index: 2;
}

.nacef-react-login-shell {
  min-height: 100vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 38px 22px;
  color: var(--nacef-text);
}

.nacef-login-frame {
  position: relative;
  width: min(1180px, 100%);
  min-height: 680px;
  border-radius: var(--nacef-radius-xl);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  border: 1px solid rgba(255,255,255,0.46);
  box-shadow: var(--nacef-shadow-main);
  background: #ffffff;
  isolation: isolate;
}

.nacef-login-hero {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 680px;
  padding: 46px 56px;
  background:
    radial-gradient(circle at 50% 34%, rgba(105,215,255,0.18), transparent 24%),
    linear-gradient(145deg, #0B4969 0%, #073f5b 45%, #041f2f 100%);
  color: #ffffff;
  overflow: hidden;
}

.nacef-login-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.45;
  background:
    linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 38px 38px;
  pointer-events: none;
}

.nacef-login-hero::after {
  content: "";
  position: absolute;
  width: 520px;
  height: 260px;
  left: 50%;
  bottom: -90px;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(105,215,255,0.16), transparent 72%);
  filter: blur(8px);
  pointer-events: none;
}

.nacef-pill,
.nacef-logo-stage,
.nacef-hero-content {
  position: relative;
  z-index: 2;
}

.nacef-pill {
  width: max-content;
  border-radius: 999px;
  padding: 9px 13px;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.13);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.94);
}

.nacef-logo-stage {
  width: min(350px, 86%);
  aspect-ratio: 1;
  margin: 18px auto;
  display: grid;
  place-items: center;
}

.nacef-logo-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 999px;
  animation: nacefSoftPulse 3.2s ease-in-out infinite;
  box-shadow:
    0 0 0 22px rgba(105,215,255,0.045),
    0 22px 60px rgba(0,0,0,0.26);
}

.nacef-logo-stage::after {
  content: "";
  position: absolute;
  inset: 18px;
  border-radius: 999px;
  border: 1px solid rgba(201,162,79,0.42);
  border-left-color: transparent;
  border-bottom-color: transparent;
  animation: nacefOrbit 18s linear infinite;
}

.nacef-logo-stage img {
  position: relative;
  z-index: 2;
  width: 84%;
  height: 84%;
  object-fit: contain;
  border-radius: 999px;
  filter: drop-shadow(0 28px 45px rgba(0,0,0,0.35));
}

.nacef-hero-content h1 {
  margin: 0 0 22px;
  font-size: clamp(34px, 4vw, 56px);
  line-height: 1.02;
  letter-spacing: -0.06em;
  color: #ffffff;
  font-weight: 900;
}

.nacef-hero-content h1 span {
  color: var(--nacef-cyan);
}

.nacef-hero-content p {
  margin: 0;
  max-width: 520px;
  color: rgba(255,255,255,0.78);
  font-size: 16px;
  line-height: 1.65;
}

.nacef-hero-monitor {
  width: fit-content;
  max-width: 520px;
  margin-top: 15px;
  padding: 10px 13px;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 999px;
  background: rgba(255,255,255,0.075);
  color: rgba(255,255,255,0.88);
  font-size: 13px;
  font-weight: 760;
  line-height: 1.35;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
}

.nacef-hero-monitor-icon {
  width: 19px;
  height: 19px;
  display: inline-grid;
  place-items: center;
  color: var(--nacef-cyan);
  flex: 0 0 auto;
}

.nacef-hero-monitor-icon svg {
  width: 16px;
  height: 16px;
  display: block;
}

.nacef-feature-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 22px;
}

.nacef-feature-list article {
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.075);
  border-radius: 20px;
  padding: 14px;
  min-height: 112px;
}

.nacef-feature-list i {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 10px;
  border-radius: 14px;
  background: rgba(105,215,255,0.12);
  color: var(--nacef-cyan);
  font-style: normal;
}

.nacef-feature-list svg,
.nacef-svg-icon svg {
  width: 19px;
  height: 19px;
  display: block;
}

.nacef-feature-list b {
  display: block;
  color: #ffffff;
  font-size: 13px;
  margin-bottom: 7px;
}

.nacef-feature-list span {
  display: block;
  color: rgba(255,255,255,0.68);
  font-size: 12px;
  line-height: 1.35;
}

.nacef-secure-note {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.16);
  color: rgba(255,255,255,0.72);
  font-size: 13px;
}

.nacef-secure-note b {
  color: rgba(255,255,255,0.92);
  font-size: 13px;
}

.nacef-login-panel {
  min-height: 680px;
  background: linear-gradient(180deg, #ffffff 0%, #f9fcfe 100%);
  padding: 58px clamp(34px, 4.2vw, 70px);
  display: grid;
  align-items: center;
}

.nacef-form-card {
  max-width: 440px;
  width: 100%;
  margin: auto;
}

.nacef-form-head {
  text-align: center;
  margin-bottom: 30px;
}

.nacef-mini-brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 22px;
  font-size: 19px;
  font-weight: 950;
  letter-spacing: -0.03em;
  color: var(--nacef-primary-900);
}

.nacef-mini-brand img {
  width: 58px;
  height: 58px;
  object-fit: contain;
  border-radius: 999px;
  box-shadow: 0 14px 26px rgba(11,73,105,0.16);
}

.nacef-form-head h2 {
  margin: 0 0 8px;
  font-size: clamp(26px, 2.2vw, 34px);
  line-height: 1.1;
  letter-spacing: -0.055em;
  color: var(--nacef-text);
  text-align: center;
  font-weight: 900;
}

.nacef-form-head p {
  margin: 0;
  color: var(--nacef-text-soft);
  font-size: 14px;
  line-height: 1.45;
  text-align: center;
}

.nacef-feedback {
  margin: 0 0 18px;
  padding: 13px 15px;
  border-radius: 15px;
  font-size: 12px;
  font-weight: 760;
  line-height: 1.45;
  text-align: center;
}

.nacef-feedback.error {
  color: var(--nacef-danger);
  background: var(--nacef-danger-bg);
  border: 1px solid rgba(180,35,24,0.18);
}

.nacef-feedback.message {
  color: var(--nacef-primary-900);
  background: var(--nacef-primary-050);
  border: 1px solid rgba(11,73,105,0.14);
}

.nacef-field {
  margin-bottom: 18px;
}

.nacef-field label {
  display: block;
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 850;
  color: var(--nacef-text);
}

.nacef-input {
  border: 1px solid var(--nacef-border);
  background: #ffffff;
  border-radius: var(--nacef-radius-md);
  display: flex;
  align-items: center;
  min-height: 56px;
  transition:
    border-color 0.18s ease,
    box-shadow 0.18s ease,
    transform 0.18s ease;
  box-shadow: 0 12px 30px rgba(2,25,40,0.04);
}

.nacef-input:hover {
  border-color: rgba(11,73,105,0.30);
}

.nacef-input:focus-within {
  border-color: rgba(11,73,105,0.55);
  box-shadow:
    0 0 0 4px rgba(11,73,105,0.08),
    0 18px 38px rgba(2,25,40,0.08);
  transform: translateY(-1px);
}

.nacef-input .nacef-svg-icon {
  width: 19px;
  height: 19px;
  margin-left: 17px;
  color: #738798;
  flex: 0 0 auto;
}

.nacef-input input {
  width: 100%;
  border: 0 !important;
  outline: 0 !important;
  background: transparent !important;
  padding: 0 16px !important;
  height: 54px;
  min-height: 54px;
  font-size: 14px !important;
  color: var(--nacef-text) !important;
  font-weight: 650;
  box-shadow: none !important;
}

.nacef-input input::placeholder {
  color: #8a9aa7;
  opacity: 1;
}

.nacef-eye {
  display: grid;
  place-items: center;
  width: 48px;
  height: 54px;
  border: 0;
  background: transparent;
  color: #7b8c99;
  padding: 0;
  cursor: pointer;
}

.nacef-eye:hover,
.nacef-eye:focus {
  color: var(--nacef-primary);
  outline: none;
}

.nacef-helper-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin: 2px 0 22px;
  font-size: 13px;
  font-weight: 800;
  color: var(--nacef-text-soft);
}

.nacef-helper-row a,
.nacef-back-link a {
  color: var(--nacef-primary);
  font-weight: 900;
  text-decoration: none;
}

.nacef-helper-row a:hover,
.nacef-helper-row a:focus,
.nacef-back-link a:hover,
.nacef-back-link a:focus {
  color: var(--nacef-primary-900);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.nacef-check {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 20px;
  line-height: 20px;
  cursor: pointer;
}

.nacef-check input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.nacef-check span {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  border: 1px solid #b8cad5;
  border-radius: 6px;
  background: #ffffff;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.9);
}

.nacef-check input:checked + span {
  border-color: var(--nacef-primary);
  background:
    linear-gradient(135deg, var(--nacef-primary), var(--nacef-primary-600));
  box-shadow: 0 0 0 3px rgba(11,73,105,0.10);
}

.nacef-check input:checked + span::after {
  content: "";
  width: 8px;
  height: 4px;
  border-left: 2px solid #ffffff;
  border-bottom: 2px solid #ffffff;
  transform: rotate(-45deg) translate(1px, -1px);
}

.nacef-primary {
  width: 100%;
  min-height: 56px;
  border: 0;
  border-radius: var(--nacef-radius-md);
  background: linear-gradient(135deg, var(--nacef-primary-600), var(--nacef-primary) 54%, #05344c);
  color: #ffffff;
  font-size: 14px;
  font-weight: 950;
  cursor: pointer;
  box-shadow: var(--nacef-shadow-button);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    background 0.18s ease;
}

.nacef-primary:hover,
.nacef-primary:focus {
  transform: translateY(-1px);
  box-shadow: 0 22px 44px rgba(11,73,105,0.38);
  background: linear-gradient(135deg, var(--nacef-primary-900), var(--nacef-primary) 58%, var(--nacef-primary-600));
  outline: none;
}

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

.nacef-primary i {
  width: 18px;
  height: 18px;
  display: inline-grid;
  place-items: center;
}

.nacef-primary i::before {
  content: "→";
  font-size: 19px;
  line-height: 1;
}

.nacef-divider {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 24px 0 18px;
  color: #8a9aa7;
  font-size: 12px;
  font-weight: 800;
}

.nacef-divider::before,
.nacef-divider::after {
  content: "";
  height: 1px;
  background: #dce8ee;
  flex: 1;
}

.nacef-ghost {
  width: 100%;
  min-height: 52px;
  border: 1px solid #d6e4eb;
  border-radius: 15px;
  background: #ffffff;
  color: var(--nacef-text);
  font-size: 13px;
  font-weight: 900;
  cursor: not-allowed;
  opacity: 0.78;
}

.nacef-ghost small {
  font-size: 12px;
  color: var(--nacef-text-soft);
}

.nacef-monitor {
  margin-top: 18px;
  padding: 12px 14px;
  border-radius: 15px;
  background: var(--nacef-primary-050);
  border: 1px solid #dce8ee;
  color: #46606f;
  font-size: 12px;
  font-weight: 850;
  text-align: center;
  line-height: 1.35;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.nacef-monitor-icon {
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--nacef-primary);
  flex: 0 0 auto;
}

.nacef-monitor-icon svg {
  width: 16px;
  height: 16px;
  display: block;
}

.nacef-copyright {
  margin-top: 12px;
  color: #6d7f8c;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
}

.nacef-back-link {
  margin: 20px 0 0;
  text-align: center;
  font-size: 13px;
}

@keyframes nacefOrbit {
  to { transform: rotate(360deg); }
}

@keyframes nacefSoftPulse {
  0%, 100% { transform: scale(1); opacity: 0.85; }
  50% { transform: scale(1.025); opacity: 1; }
}

@media (max-width: 1060px) {
  .nacef-login-frame {
    grid-template-columns: 1fr;
    max-width: 760px;
    min-height: auto;
  }

  .nacef-login-hero {
    min-height: auto;
    padding: 36px 34px 34px;
    text-align: center;
  }

  .nacef-pill {
    margin: 0 auto;
  }

  .nacef-logo-stage {
    width: 270px;
    margin: 18px auto 20px;
  }

  .nacef-hero-content h1 {
    font-size: 38px;
  }

  .nacef-hero-content p {
    margin-left: auto;
    margin-right: auto;
  }

  .nacef-hero-monitor {
    margin-left: auto;
    margin-right: auto;
  }

  .nacef-feature-list {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
  }

  .nacef-feature-list article {
    min-height: auto;
  }

  .nacef-login-panel {
    min-height: auto;
    padding: 44px 30px 46px;
  }
}

@media (max-width: 560px) {
  .nacef-react-login-shell {
    padding: 14px 10px;
    align-items: flex-start;
  }

  .nacef-login-frame {
    border-radius: 24px;
  }

  .nacef-login-hero {
    padding: 26px 22px 30px;
  }

  .nacef-logo-stage {
    width: 218px;
  }

  .nacef-hero-content h1 {
    font-size: 30px;
  }

  .nacef-hero-content p {
    font-size: 13px;
  }

  .nacef-hero-monitor {
    border-radius: 16px;
    text-align: left;
    font-size: 12px;
  }

  .nacef-feature-list {
    display: none;
  }

  .nacef-secure-note {
    text-align: center;
  }

  .nacef-login-panel {
    padding: 34px 22px 36px;
  }

  .nacef-mini-brand {
    font-size: 16px;
  }

  .nacef-mini-brand img {
    width: 50px;
    height: 50px;
  }

  .nacef-form-head h2 {
    font-size: 26px;
  }

  .nacef-helper-row {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* Ajuste de viewport desktop: mantém a tela inteira sem scroll em resoluções comuns de notebook. */
@media (min-width: 1061px) {
  html,
  body.login {
    height: 100%;
    overflow: hidden !important;
  }

  .nacef-react-login-shell {
    height: 100vh;
    min-height: 0;
    padding: 20px 22px;
    align-items: center;
  }

  .nacef-login-frame {
    height: min(660px, calc(100vh - 40px));
    min-height: 0;
  }

  .nacef-login-hero,
  .nacef-login-panel {
    min-height: 0;
    height: 100%;
  }

  .nacef-login-hero {
    padding: clamp(24px, 3.2vh, 42px) 56px;
  }

  .nacef-logo-stage {
    width: min(310px, 48vh);
    margin: clamp(8px, 1.8vh, 18px) auto;
  }

  .nacef-hero-content h1 {
    font-size: clamp(34px, 5.2vh, 50px);
    margin-bottom: clamp(16px, 2.4vh, 24px);
  }

  .nacef-hero-content p {
    font-size: clamp(13px, 1.8vh, 15px);
    line-height: 1.48;
  }

  .nacef-hero-monitor {
    margin-top: clamp(10px, 1.7vh, 14px);
    padding: 9px 12px;
    font-size: clamp(11.5px, 1.55vh, 13px);
  }

  .nacef-feature-list {
    margin-top: clamp(12px, 2vh, 20px);
    gap: 10px;
  }

  .nacef-feature-list article {
    min-height: 92px;
    padding: 12px;
  }

  .nacef-feature-list i {
    width: 34px;
    height: 34px;
    margin-bottom: 8px;
  }

  .nacef-feature-list b {
    font-size: 12px;
    margin-bottom: 5px;
  }

  .nacef-feature-list span {
    font-size: 11px;
    line-height: 1.28;
  }

  .nacef-secure-note {
    margin-top: clamp(12px, 2vh, 22px);
    padding-top: 14px;
  }

  .nacef-login-panel {
    padding: clamp(24px, 4vh, 46px) clamp(34px, 4.2vw, 64px);
  }

  .nacef-form-head {
    margin-bottom: clamp(18px, 2.6vh, 28px);
  }

  .nacef-mini-brand {
    margin-bottom: clamp(12px, 2vh, 20px);
  }

  .nacef-mini-brand img {
    width: clamp(46px, 6.6vh, 56px);
    height: clamp(46px, 6.6vh, 56px);
  }

  .nacef-form-head h2 {
    font-size: clamp(25px, 3.8vh, 32px);
  }

  .nacef-field {
    margin-bottom: clamp(12px, 2vh, 16px);
  }

  .nacef-input,
  .nacef-primary {
    min-height: clamp(48px, 6.8vh, 54px);
  }

  .nacef-input input,
  .nacef-eye {
    height: clamp(46px, 6.6vh, 52px);
    min-height: clamp(46px, 6.6vh, 52px);
  }

  .nacef-helper-row {
    margin-bottom: clamp(14px, 2.1vh, 20px);
  }

  .nacef-divider {
    margin: clamp(14px, 2.4vh, 22px) 0 clamp(12px, 2vh, 17px);
  }

  .nacef-ghost {
    min-height: clamp(46px, 6.4vh, 50px);
  }

  .nacef-monitor {
    margin-top: clamp(12px, 2vh, 16px);
    padding: 10px 14px;
  }
}

@media (min-width: 1061px) and (max-height: 760px) {
  .nacef-login-frame {
    height: calc(100vh - 28px);
  }

  .nacef-react-login-shell {
    padding-top: 14px;
    padding-bottom: 14px;
  }

  .nacef-logo-stage {
    width: min(270px, 42vh);
  }

  .nacef-pill {
    padding: 8px 12px;
    font-size: 11px;
  }

  .nacef-hero-content h1 {
    font-size: clamp(30px, 4.8vh, 42px);
    margin-bottom: clamp(12px, 2vh, 18px);
  }

  .nacef-hero-monitor {
    margin-top: 10px;
    padding-top: 8px;
    padding-bottom: 8px;
  }

  .nacef-feature-list article {
    min-height: 82px;
  }

  .nacef-secure-note {
    display: none;
  }
}


/* v1.0.2 - Ajuste visual: remove aparência de formulário padrão do WP e evita sobreposição/corte em desktop. */
.nacef-login-form {
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  overflow: visible !important;
}

.nacef-login-form::before,
.nacef-login-form::after {
  display: none !important;
  content: none !important;
}

.nacef-form-card {
  position: relative;
  z-index: 3;
}

@media (min-width: 1061px) {
  .nacef-react-login-shell {
    padding: clamp(18px, 3vh, 34px) 22px;
  }

  .nacef-login-frame {
    width: min(1180px, calc(100vw - 56px));
    height: min(660px, calc(100vh - 56px));
    min-height: 600px;
  }

  .nacef-login-hero {
    padding: clamp(30px, 4.5vh, 44px) 56px clamp(28px, 4vh, 40px);
  }

  .nacef-logo-stage {
    width: clamp(255px, 40vh, 335px);
    margin: clamp(10px, 1.8vh, 18px) auto clamp(8px, 1.7vh, 16px);
  }

  .nacef-hero-content h1 {
    font-size: clamp(36px, 5.6vh, 52px);
  }

  .nacef-feature-list {
    margin-top: clamp(16px, 2.4vh, 24px);
  }

  .nacef-login-panel {
    padding: clamp(30px, 4.8vh, 52px) clamp(42px, 4.6vw, 68px);
  }
}

@media (min-width: 1061px) and (max-height: 820px) {
  .nacef-login-frame {
    height: calc(100vh - 44px);
    min-height: 0;
  }

  .nacef-login-hero {
    justify-content: center;
    gap: clamp(12px, 2vh, 22px);
  }

  .nacef-logo-stage {
    width: clamp(250px, 38vh, 300px);
    margin: 0 auto;
  }

  .nacef-hero-content h1 {
    font-size: clamp(34px, 5vh, 44px);
    margin-bottom: 8px;
  }

  .nacef-hero-content p {
    max-width: 540px;
    font-size: 14px;
    line-height: 1.48;
  }

  .nacef-feature-list {
    display: none;
  }

  .nacef-secure-note {
    display: none;
  }

  .nacef-login-panel {
    padding-top: clamp(24px, 4vh, 38px);
    padding-bottom: clamp(24px, 4vh, 38px);
  }

  .nacef-form-head {
    margin-bottom: 22px;
  }

  .nacef-mini-brand {
    margin-bottom: 14px;
  }

  .nacef-mini-brand img {
    width: 52px;
    height: 52px;
  }

  .nacef-form-head h2 {
    font-size: 30px;
  }

  .nacef-field {
    margin-bottom: 14px;
  }

  .nacef-input,
  .nacef-primary {
    min-height: 52px;
  }

  .nacef-input input,
  .nacef-eye {
    height: 50px;
    min-height: 50px;
  }

  .nacef-helper-row {
    margin-bottom: 18px;
  }

  .nacef-divider,
  .nacef-ghost {
    display: none;
  }

  .nacef-monitor {
    margin-top: 12px;
    padding: 9px 12px;
    font-size: 11.5px;
  }

  .nacef-copyright {
    margin-top: 8px;
    font-size: 11.5px;
  }
}

@media (min-width: 1061px) and (max-height: 640px) {
  .nacef-logo-stage {
    width: clamp(210px, 34vh, 250px);
  }

  .nacef-pill {
    display: none;
  }

  .nacef-hero-content h1 {
    font-size: clamp(30px, 5vh, 38px);
  }

  .nacef-hero-content p {
    font-size: 13px;
  }

  .nacef-hero-monitor {
    border-radius: 16px;
    text-align: left;
    font-size: 12px;
  }
}


/* v1.0.4 - Ajustes solicitados: rodape em duas linhas, check visivel e logo mais acima. */
.nacef-check span {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.nacef-check input:checked + span::after {
  content: "";
  width: 8px;
  height: 4px;
  border-left: 2px solid #ffffff;
  border-bottom: 2px solid #ffffff;
  transform: rotate(-45deg) translateY(-1px);
}

.nacef-copyright {
  margin-top: 14px;
  margin-bottom: 9px;
  color: #617585;
  font-size: 12px;
  font-weight: 750;
}

.nacef-monitor {
  margin-top: 0;
}

@media (min-width: 1061px) {
  .nacef-logo-stage {
    transform: translateY(-24px);
    margin-bottom: clamp(30px, 4.8vh, 48px);
  }

  .nacef-hero-content {
    margin-top: -8px;
  }
}

@media (min-width: 1061px) and (max-height: 820px) {
  .nacef-logo-stage {
    transform: translateY(-30px);
    margin-bottom: clamp(34px, 5.2vh, 52px);
  }

  .nacef-hero-content {
    margin-top: -10px;
  }

  .nacef-copyright {
    margin-top: 10px;
    margin-bottom: 7px;
    font-size: 11.5px;
  }

  .nacef-monitor {
    margin-top: 0;
  }
}

@media (min-width: 1061px) and (max-height: 640px) {
  .nacef-logo-stage {
    transform: translateY(-18px);
    margin-bottom: 26px;
  }
}

/* v1.0.5 - Ajustes solicitados: respiro no texto institucional, aviso monitorado no painel esquerdo e checkbox alinhado. */
.nacef-hero-content h1 {
  margin-bottom: 24px;
}

.nacef-hero-monitor {
  margin-top: 16px;
  margin-bottom: 0;
}

.nacef-feature-list {
  margin-top: 22px;
}

.nacef-check {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 20px;
  line-height: 20px;
}

.nacef-check span {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
}

.nacef-check input:checked + span::after {
  content: "";
  width: 8px;
  height: 4px;
  border-left: 2px solid #ffffff;
  border-bottom: 2px solid #ffffff;
  transform: rotate(-45deg) translate(1px, -1px);
}

@media (min-width: 1061px) {
  .nacef-hero-content h1 {
    margin-bottom: clamp(18px, 2.7vh, 28px);
  }

  .nacef-hero-monitor {
    margin-top: clamp(12px, 1.8vh, 16px);
  }
}

@media (min-width: 1061px) and (max-height: 820px) {
  .nacef-hero-content h1 {
    margin-bottom: clamp(16px, 2.5vh, 24px);
  }

  .nacef-hero-monitor {
    margin-top: 12px;
    padding-top: 8px;
    padding-bottom: 8px;
  }

  .nacef-feature-list {
    margin-top: 16px;
  }
}

@media (max-width: 560px) {
  .nacef-check {
    line-height: 20px;
  }
}

/* v1.0.6 - Ajuste fino: centraliza verticalmente os textos dos campos de usuario/e-mail e senha. */
.nacef-input {
  height: 56px;
  min-height: 56px;
  padding: 0 16px !important;
  align-items: center !important;
  overflow: hidden;
}

.nacef-input .nacef-svg-icon {
  margin-left: 0 !important;
  width: 19px !important;
  height: 19px !important;
  min-width: 19px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  line-height: 1 !important;
}

body.login .nacef-input input,
body.login .nacef-input input[type="text"],
body.login .nacef-input input[type="password"],
body.login .nacef-input input[type="email"],
body.login .nacef-input input#nacef-user-login,
body.login .nacef-input input#nacef-user-pass,
body.login .nacef-input input#pass1,
body.login .nacef-input input#pass2 {
  flex: 1 1 auto !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 0 !important;
  max-height: none !important;
  margin: 0 !important;
  padding: 0 14px !important;
  border: 0 !important;
  outline: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  font-size: 14px !important;
  font-weight: 650 !important;
  line-height: normal !important;
  color: var(--nacef-text) !important;
  display: block !important;
  box-sizing: border-box !important;
  vertical-align: middle !important;
  transform: none !important;
  appearance: none;
  -webkit-appearance: none;
}

body.login .nacef-input input::placeholder {
  line-height: normal !important;
  color: #8a9aa7 !important;
  opacity: 1 !important;
}

.nacef-eye {
  height: 100% !important;
  min-height: 0 !important;
  flex: 0 0 44px !important;
  width: 44px !important;
  margin: 0 !important;
  padding: 0 !important;
  display: grid !important;
  place-items: center !important;
  line-height: 1 !important;
}

@media (min-width: 1061px) and (max-height: 820px) {
  .nacef-input {
    height: 52px;
    min-height: 52px;
  }
}

@media (max-width: 520px) {
  .nacef-input {
    height: 52px;
    min-height: 52px;
    padding-left: 14px !important;
    padding-right: 10px !important;
  }

  body.login .nacef-input input,
  body.login .nacef-input input[type="text"],
  body.login .nacef-input input[type="password"],
  body.login .nacef-input input[type="email"] {
    padding-left: 12px !important;
    padding-right: 12px !important;
  }
}

/* v1.0.7 - Animacoes profissionais, leves e sem alterar a estrutura aprovada. */
.nacef-feature-list article,
.nacef-pill,
.nacef-hero-monitor,
.nacef-monitor,
.nacef-mini-brand img,
.nacef-input,
.nacef-input .nacef-svg-icon,
.nacef-primary,
.nacef-primary i,
.nacef-check span {
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    border-color 0.22s ease,
    background 0.22s ease,
    color 0.18s ease,
    opacity 0.18s ease;
}

.nacef-feature-list article:hover {
  transform: translateY(-4px);
  border-color: rgba(105,215,255,0.30);
  background: rgba(255,255,255,0.105);
  box-shadow: 0 18px 34px rgba(0,0,0,0.14);
}

.nacef-feature-list article:hover i {
  transform: scale(1.04);
}

.nacef-input:focus-within .nacef-svg-icon,
.nacef-input:hover .nacef-svg-icon {
  color: var(--nacef-primary);
  transform: scale(1.04);
}

.nacef-hero-monitor:hover,
.nacef-monitor:hover {
  transform: translateY(-1px);
}

.nacef-mini-brand img:hover {
  transform: translateY(-2px) scale(1.02);
}

.nacef-primary {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.nacef-primary span,
.nacef-primary i {
  position: relative;
  z-index: 2;
}

.nacef-primary::after {
  content: "";
  position: absolute;
  top: -35%;
  bottom: -35%;
  left: -42%;
  width: 34%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.36), transparent);
  transform: translateX(-160%) rotate(16deg);
  transition: transform 0.72s ease;
  z-index: 1;
  pointer-events: none;
}

.nacef-primary:hover::after,
.nacef-primary:focus::after {
  transform: translateX(430%) rotate(16deg);
}

.nacef-primary:hover i,
.nacef-primary:focus i {
  transform: translateX(3px);
}

.nacef-login-form.is-submitting .nacef-primary,
.nacef-primary.is-loading {
  pointer-events: none;
  opacity: 0.96;
}

.nacef-login-form.is-submitting .nacef-primary i,
.nacef-primary.is-loading i {
  transform: none;
}

.nacef-login-form.is-submitting .nacef-primary i::before,
.nacef-primary.is-loading i::before {
  content: "";
  width: 17px;
  height: 17px;
  border-radius: 999px;
  border: 2px solid rgba(255,255,255,0.42);
  border-top-color: #ffffff;
  display: block;
  animation: nacefMotionSpin 0.78s linear infinite;
}

.nacef-check:hover span {
  transform: scale(1.04);
  border-color: rgba(11,73,105,0.42);
}

.nacef-check input:checked + span {
  animation: nacefMotionCheckPop 0.22s ease both;
}

@media (prefers-reduced-motion: no-preference) {
  body.login::before {
    animation: nacefMotionGridDrift 30s linear infinite;
  }

  body.login::after {
    animation: nacefMotionAuraFloat 8.5s ease-in-out infinite alternate;
  }

  body.login.nacef-login-ready .nacef-login-frame {
    animation: nacefMotionFrameReveal 0.78s cubic-bezier(0.16, 1, 0.3, 1) both;
  }

  body.login.nacef-login-ready .nacef-login-hero {
    animation: nacefMotionHeroReveal 0.82s cubic-bezier(0.16, 1, 0.3, 1) both;
  }

  body.login.nacef-login-ready .nacef-login-panel {
    animation: nacefMotionPanelReveal 0.82s cubic-bezier(0.16, 1, 0.3, 1) 0.06s both;
  }

  body.login.nacef-login-ready .nacef-pill,
  body.login.nacef-login-ready .nacef-logo-stage,
  body.login.nacef-login-ready .nacef-hero-content h1,
  body.login.nacef-login-ready .nacef-hero-content p,
  body.login.nacef-login-ready .nacef-hero-monitor,
  body.login.nacef-login-ready .nacef-feature-list article,
  body.login.nacef-login-ready .nacef-form-head,
  body.login.nacef-login-ready .nacef-feedback,
  body.login.nacef-login-ready .nacef-field,
  body.login.nacef-login-ready .nacef-helper-row,
  body.login.nacef-login-ready .nacef-primary,
  body.login.nacef-login-ready .nacef-divider,
  body.login.nacef-login-ready .nacef-ghost,
  body.login.nacef-login-ready .nacef-copyright,
  body.login.nacef-login-ready .nacef-monitor,
  body.login.nacef-login-ready .nacef-back-link {
    animation: nacefMotionFadeUp 0.64s cubic-bezier(0.16, 1, 0.3, 1) both;
  }

  body.login.nacef-login-ready .nacef-pill { animation-delay: 0.06s; }
  body.login.nacef-login-ready .nacef-logo-stage { animation-delay: 0.11s; }
  body.login.nacef-login-ready .nacef-hero-content h1 { animation-delay: 0.18s; }
  body.login.nacef-login-ready .nacef-hero-content p { animation-delay: 0.24s; }
  body.login.nacef-login-ready .nacef-hero-monitor { animation-delay: 0.30s; }
  body.login.nacef-login-ready .nacef-feature-list article:nth-child(1) { animation-delay: 0.34s; }
  body.login.nacef-login-ready .nacef-feature-list article:nth-child(2) { animation-delay: 0.40s; }
  body.login.nacef-login-ready .nacef-feature-list article:nth-child(3) { animation-delay: 0.46s; }
  body.login.nacef-login-ready .nacef-form-head { animation-delay: 0.16s; }
  body.login.nacef-login-ready .nacef-feedback { animation-delay: 0.21s; }
  body.login.nacef-login-ready .nacef-field:nth-of-type(1) { animation-delay: 0.23s; }
  body.login.nacef-login-ready .nacef-field:nth-of-type(2) { animation-delay: 0.29s; }
  body.login.nacef-login-ready .nacef-helper-row { animation-delay: 0.34s; }
  body.login.nacef-login-ready .nacef-primary { animation-delay: 0.39s; }
  body.login.nacef-login-ready .nacef-divider { animation-delay: 0.44s; }
  body.login.nacef-login-ready .nacef-ghost { animation-delay: 0.49s; }
  body.login.nacef-login-ready .nacef-copyright { animation-delay: 0.52s; }
  body.login.nacef-login-ready .nacef-monitor { animation-delay: 0.56s; }
  body.login.nacef-login-ready .nacef-back-link { animation-delay: 0.44s; }

  .nacef-logo-stage img {
    animation: nacefMotionLogoFloat 5.8s ease-in-out 1.1s infinite;
    will-change: transform;
  }

  .nacef-hero-monitor-icon,
  .nacef-monitor-icon {
    animation: nacefMotionLockPulse 2.8s ease-in-out infinite;
  }

  .nacef-primary:hover i::before,
  .nacef-primary:focus i::before {
    animation: nacefMotionArrowNudge 0.72s ease-in-out infinite;
  }

  .nacef-feedback.error {
    animation: nacefMotionSubtleShake 0.42s ease both;
  }

  .nacef-feedback.message {
    animation: nacefMotionNoticeGlow 0.58s ease both;
  }
}

@keyframes nacefMotionFrameReveal {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.985);
    filter: blur(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

@keyframes nacefMotionHeroReveal {
  from {
    opacity: 0;
    transform: translateX(-18px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes nacefMotionPanelReveal {
  from {
    opacity: 0;
    transform: translateX(18px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes nacefMotionFadeUp {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes nacefMotionLogoFloat {
  0%, 100% {
    transform: translate3d(0, -3px, 0) scale(1);
  }
  50% {
    transform: translate3d(0, 5px, 0) scale(1.006);
  }
}

@keyframes nacefMotionGridDrift {
  from { background-position: 0 0, 0 0; }
  to { background-position: 44px 44px, 44px 44px; }
}

@keyframes nacefMotionAuraFloat {
  from {
    transform: translate3d(0, 0, 0) scale(1);
    opacity: 0.88;
  }
  to {
    transform: translate3d(-20px, -18px, 0) scale(1.04);
    opacity: 1;
  }
}

@keyframes nacefMotionLockPulse {
  0%, 100% {
    transform: scale(1);
    opacity: 0.9;
  }
  50% {
    transform: scale(1.08);
    opacity: 1;
  }
}

@keyframes nacefMotionArrowNudge {
  0%, 100% { transform: translateX(0); opacity: 1; }
  50% { transform: translateX(4px); opacity: 0.86; }
}

@keyframes nacefMotionSpin {
  to { transform: rotate(360deg); }
}

@keyframes nacefMotionSubtleShake {
  0%, 100% { transform: translateX(0); }
  22% { transform: translateX(-5px); }
  44% { transform: translateX(5px); }
  66% { transform: translateX(-3px); }
  88% { transform: translateX(3px); }
}

@keyframes nacefMotionNoticeGlow {
  0% { box-shadow: 0 0 0 0 rgba(11,73,105,0.13); }
  100% { box-shadow: 0 0 0 6px rgba(11,73,105,0); }
}

@keyframes nacefMotionCheckPop {
  0% { transform: scale(0.92); }
  70% { transform: scale(1.08); }
  100% { transform: scale(1); }
}

@media (prefers-reduced-motion: reduce) {
  body.login::before,
  body.login::after,
  body.login.nacef-login-ready .nacef-login-frame,
  body.login.nacef-login-ready .nacef-login-hero,
  body.login.nacef-login-ready .nacef-login-panel,
  body.login.nacef-login-ready .nacef-pill,
  body.login.nacef-login-ready .nacef-logo-stage,
  body.login.nacef-login-ready .nacef-hero-content h1,
  body.login.nacef-login-ready .nacef-hero-content p,
  body.login.nacef-login-ready .nacef-hero-monitor,
  body.login.nacef-login-ready .nacef-feature-list article,
  body.login.nacef-login-ready .nacef-form-head,
  body.login.nacef-login-ready .nacef-feedback,
  body.login.nacef-login-ready .nacef-field,
  body.login.nacef-login-ready .nacef-helper-row,
  body.login.nacef-login-ready .nacef-primary,
  body.login.nacef-login-ready .nacef-divider,
  body.login.nacef-login-ready .nacef-ghost,
  body.login.nacef-login-ready .nacef-copyright,
  body.login.nacef-login-ready .nacef-monitor,
  body.login.nacef-login-ready .nacef-back-link,
  .nacef-logo-stage::before,
  .nacef-logo-stage::after,
  .nacef-logo-stage img,
  .nacef-primary:hover i::before,
  .nacef-primary:focus i::before,
  .nacef-login-form.is-submitting .nacef-primary i::before,
  .nacef-primary.is-loading i::before,
  .nacef-feedback.error,
  .nacef-feedback.message,
  .nacef-check input:checked + span {
    animation: none !important;
  }

  .nacef-feature-list article,
  .nacef-pill,
  .nacef-hero-monitor,
  .nacef-monitor,
  .nacef-mini-brand img,
  .nacef-input,
  .nacef-input .nacef-svg-icon,
  .nacef-primary,
  .nacef-primary i,
  .nacef-primary::after,
  .nacef-check span {
    transition: none !important;
  }
}

/* v1.0.8 - Premium Motion: particulas sutis, parallax, borda viva, foco refinado e feedback executivo. */
#nacef-login-root {
  --nacef-logo-x: 0px;
  --nacef-logo-y: 0px;
  --nacef-glow-x: 0px;
  --nacef-glow-y: 0px;
  --nacef-hero-x: 0px;
  --nacef-hero-y: 0px;
}

.nacef-react-login-shell {
  position: relative;
  overflow: hidden;
}

.nacef-motion-layer {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
  opacity: 0.72;
}

.nacef-motion-layer::before,
.nacef-motion-layer::after {
  content: "";
  position: absolute;
  width: 42vw;
  height: 42vw;
  min-width: 460px;
  min-height: 460px;
  border-radius: 999px;
  filter: blur(18px);
  opacity: 0.34;
  background: radial-gradient(circle, rgba(105,215,255,0.19), rgba(105,215,255,0.04) 42%, transparent 70%);
  animation: nacefPremiumNebula 14s ease-in-out infinite alternate;
}

.nacef-motion-layer::before {
  left: -12vw;
  top: -18vh;
}

.nacef-motion-layer::after {
  right: -16vw;
  bottom: -22vh;
  background: radial-gradient(circle, rgba(201,162,79,0.22), rgba(201,162,79,0.05) 44%, transparent 72%);
  animation-delay: -6s;
}

.nacef-particle {
  position: absolute;
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: rgba(255,255,255,0.72);
  box-shadow: 0 0 18px rgba(105,215,255,0.42), 0 0 36px rgba(255,255,255,0.12);
  opacity: 0;
  animation: nacefPremiumParticle 11s ease-in-out infinite;
}

.nacef-particle:nth-child(1) { left: 6%; top: 74%; animation-delay: -1.2s; animation-duration: 12.5s; }
.nacef-particle:nth-child(2) { left: 12%; top: 22%; animation-delay: -4.8s; animation-duration: 14s; }
.nacef-particle:nth-child(3) { left: 18%; top: 58%; animation-delay: -8s; animation-duration: 10.5s; }
.nacef-particle:nth-child(4) { left: 28%; top: 16%; animation-delay: -2.6s; animation-duration: 13.2s; }
.nacef-particle:nth-child(5) { left: 34%; top: 86%; animation-delay: -6.3s; animation-duration: 12s; }
.nacef-particle:nth-child(6) { left: 44%; top: 34%; animation-delay: -3.4s; animation-duration: 15.2s; }
.nacef-particle:nth-child(7) { left: 52%; top: 72%; animation-delay: -9.1s; animation-duration: 11.4s; }
.nacef-particle:nth-child(8) { left: 61%; top: 18%; animation-delay: -5.1s; animation-duration: 13.8s; }
.nacef-particle:nth-child(9) { left: 67%; top: 50%; animation-delay: -7.6s; animation-duration: 10.8s; }
.nacef-particle:nth-child(10) { left: 72%; top: 84%; animation-delay: -2.1s; animation-duration: 14.5s; }
.nacef-particle:nth-child(11) { left: 80%; top: 28%; animation-delay: -6.8s; animation-duration: 12.7s; }
.nacef-particle:nth-child(12) { left: 88%; top: 64%; animation-delay: -3.7s; animation-duration: 15.5s; }
.nacef-particle:nth-child(13) { left: 92%; top: 12%; animation-delay: -9.8s; animation-duration: 11.8s; }
.nacef-particle:nth-child(14) { left: 8%; top: 42%; animation-delay: -7.2s; animation-duration: 13.1s; }
.nacef-particle:nth-child(15) { left: 39%; top: 8%; animation-delay: -1.8s; animation-duration: 12.2s; }
.nacef-particle:nth-child(16) { left: 95%; top: 78%; animation-delay: -5.8s; animation-duration: 14.8s; }

.nacef-login-frame {
  z-index: 2;
}

.nacef-login-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 8;
  padding: 1px;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0.74;
  background: linear-gradient(120deg,
    rgba(255,255,255,0.42),
    rgba(105,215,255,0.46),
    rgba(201,162,79,0.70),
    rgba(11,73,105,0.20),
    rgba(255,255,255,0.38)
  );
  background-size: 260% 260%;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: nacefPremiumBorder 8s ease-in-out infinite;
}

.nacef-login-frame::after {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(circle at calc(50% + var(--nacef-glow-x)) calc(50% + var(--nacef-glow-y)), rgba(105,215,255,0.12), transparent 34%);
  opacity: 0.72;
}

.nacef-login-hero,
.nacef-login-panel {
  z-index: 1;
}

.nacef-login-hero::after {
  translate: var(--nacef-hero-x) var(--nacef-hero-y);
  transition: translate 0.20s ease-out;
}

.nacef-logo-stage {
  translate: var(--nacef-logo-x) var(--nacef-logo-y);
  transition: translate 0.20s ease-out, filter 0.22s ease;
}

.nacef-logo-stage::before {
  background:
    radial-gradient(circle, rgba(255,255,255,0.10), transparent 54%),
    conic-gradient(from 180deg, rgba(105,215,255,0.10), rgba(201,162,79,0.32), rgba(255,255,255,0.10), rgba(105,215,255,0.22));
}

.nacef-logo-stage img {
  transform-origin: center;
}

.nacef-logo-stage:hover {
  filter: drop-shadow(0 0 18px rgba(105,215,255,0.14));
}

.nacef-hero-content h1 span {
  background: linear-gradient(90deg, #69d7ff, #ffffff, #c9a24f, #69d7ff);
  background-size: 280% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: nacefPremiumTextShine 7.5s ease-in-out infinite;
}

.nacef-login-panel {
  position: relative;
  overflow: hidden;
}

.nacef-login-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at calc(52% + var(--nacef-glow-x)) calc(18% + var(--nacef-glow-y)), rgba(105,215,255,0.12), transparent 28%),
    radial-gradient(circle at calc(80% - var(--nacef-glow-x)) calc(88% - var(--nacef-glow-y)), rgba(201,162,79,0.10), transparent 25%);
  opacity: 0.74;
}

.nacef-form-card {
  position: relative;
  z-index: 1;
}

.nacef-form-card::before {
  content: "";
  position: absolute;
  inset: -28px -24px;
  z-index: -1;
  border-radius: 30px;
  background: conic-gradient(from 120deg, rgba(105,215,255,0.0), rgba(105,215,255,0.16), rgba(201,162,79,0.12), rgba(11,73,105,0.06), rgba(105,215,255,0.0));
  filter: blur(18px);
  opacity: 0.46;
  animation: nacefPremiumCardAura 9s ease-in-out infinite alternate;
}

.nacef-field label {
  transition: color 0.18s ease, transform 0.18s ease;
}

.nacef-field:focus-within label {
  color: var(--nacef-primary);
  transform: translateX(2px);
}

.nacef-input {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.nacef-input > * {
  position: relative;
  z-index: 2;
}

.nacef-input::before {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: 1;
  border-radius: inherit;
  background: linear-gradient(110deg, rgba(105,215,255,0.0), rgba(105,215,255,0.18), rgba(201,162,79,0.14), rgba(105,215,255,0.0));
  opacity: 0;
  transform: translateX(-72%);
  pointer-events: none;
}

.nacef-input::after {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: calc(var(--nacef-radius-md) - 1px);
  background: #ffffff;
  z-index: 0;
  pointer-events: none;
}

.nacef-input:hover::before,
.nacef-input:focus-within::before {
  opacity: 1;
}

.nacef-input:focus-within::before {
  animation: nacefPremiumFieldSweep 1.65s ease-in-out infinite;
}

.nacef-input:focus-within {
  box-shadow:
    0 0 0 4px rgba(11,73,105,0.08),
    0 18px 38px rgba(2,25,40,0.08),
    0 0 28px rgba(105,215,255,0.10);
}

.nacef-input:focus-within .nacef-svg-icon {
  animation: nacefPremiumIconLift 1.8s ease-in-out infinite;
}

.nacef-primary::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.18), rgba(105,215,255,0.20), transparent);
  transform: translateX(-100%);
}

.nacef-login-form.is-submitting .nacef-primary::before,
.nacef-primary.is-loading::before {
  opacity: 1;
  animation: nacefPremiumButtonProgress 1.18s ease-in-out infinite;
}

body.login.nacef-login-has-error .nacef-form-card,
.nacef-form-card.has-error {
  animation: nacefPremiumCardShake 0.46s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;
}

body.login.nacef-login-has-error .nacef-feedback.error,
.nacef-form-card.has-error .nacef-feedback.error {
  animation: nacefPremiumErrorIn 0.42s ease both;
}

body.login.nacef-login-has-error .nacef-input {
  animation: nacefPremiumErrorPulse 0.72s ease both;
}

.nacef-feature-list article {
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.nacef-feature-list article > * {
  position: relative;
  z-index: 1;
}

.nacef-feature-list article::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(255,255,255,0.16), transparent 40%, rgba(105,215,255,0.10));
  opacity: 0;
  transition: opacity 0.22s ease;
}

.nacef-feature-list article:hover::after {
  opacity: 1;
}

.nacef-mini-brand img {
  box-shadow:
    0 14px 26px rgba(11,73,105,0.16),
    0 0 0 0 rgba(105,215,255,0.0);
}

.nacef-mini-brand:hover img {
  box-shadow:
    0 18px 34px rgba(11,73,105,0.18),
    0 0 0 8px rgba(105,215,255,0.08);
}

@media (max-width: 1060px) {
  .nacef-motion-layer {
    opacity: 0.48;
  }

  .nacef-login-frame::before,
  .nacef-login-frame::after,
  .nacef-login-panel::after,
  .nacef-form-card::before {
    display: none;
  }

  .nacef-logo-stage,
  .nacef-login-hero::after {
    translate: 0 0;
  }
}

@keyframes nacefPremiumParticle {
  0% {
    opacity: 0;
    transform: translate3d(0, 26px, 0) scale(0.72);
  }
  18% {
    opacity: 0.62;
  }
  54% {
    opacity: 0.34;
    transform: translate3d(16px, -24px, 0) scale(1);
  }
  100% {
    opacity: 0;
    transform: translate3d(-14px, -58px, 0) scale(0.68);
  }
}

@keyframes nacefPremiumNebula {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }
  to {
    transform: translate3d(42px, 34px, 0) scale(1.08);
  }
}

@keyframes nacefPremiumBorder {
  0%, 100% { background-position: 0% 50%; opacity: 0.64; }
  50% { background-position: 100% 50%; opacity: 0.86; }
}

@keyframes nacefPremiumTextShine {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

@keyframes nacefPremiumCardAura {
  from {
    opacity: 0.30;
    transform: rotate(0deg) scale(0.98);
  }
  to {
    opacity: 0.55;
    transform: rotate(5deg) scale(1.02);
  }
}

@keyframes nacefPremiumFieldSweep {
  0% { transform: translateX(-72%); }
  52% { transform: translateX(28%); }
  100% { transform: translateX(88%); }
}

@keyframes nacefPremiumIconLift {
  0%, 100% { transform: translateY(0) scale(1.04); }
  50% { transform: translateY(-1px) scale(1.08); }
}

@keyframes nacefPremiumButtonProgress {
  0% { transform: translateX(-105%); }
  100% { transform: translateX(105%); }
}

@keyframes nacefPremiumCardShake {
  0%, 100% { translate: 0 0; }
  20% { translate: -5px 0; }
  40% { translate: 5px 0; }
  60% { translate: -3px 0; }
  80% { translate: 3px 0; }
}

@keyframes nacefPremiumErrorIn {
  from {
    opacity: 0;
    transform: translateY(-6px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes nacefPremiumErrorPulse {
  0%, 100% {
    border-color: var(--nacef-border);
  }
  45% {
    border-color: rgba(180,35,24,0.26);
    box-shadow: 0 0 0 4px rgba(180,35,24,0.06), 0 14px 34px rgba(2,25,40,0.05);
  }
}

@media (prefers-reduced-motion: reduce) {
  .nacef-motion-layer,
  .nacef-motion-layer::before,
  .nacef-motion-layer::after,
  .nacef-particle,
  .nacef-login-frame::before,
  .nacef-login-frame::after,
  .nacef-login-hero::after,
  .nacef-logo-stage,
  .nacef-logo-stage::before,
  .nacef-logo-stage::after,
  .nacef-logo-stage img,
  .nacef-hero-content h1 span,
  .nacef-login-panel::after,
  .nacef-form-card::before,
  .nacef-input::before,
  .nacef-input:focus-within::before,
  .nacef-input:focus-within .nacef-svg-icon,
  .nacef-primary::before,
  .nacef-login-form.is-submitting .nacef-primary::before,
  .nacef-primary.is-loading::before,
  body.login.nacef-login-has-error .nacef-form-card,
  .nacef-form-card.has-error,
  body.login.nacef-login-has-error .nacef-feedback.error,
  .nacef-form-card.has-error .nacef-feedback.error,
  body.login.nacef-login-has-error .nacef-input {
    animation: none !important;
    transition: none !important;
    translate: 0 0 !important;
  }
}
