/* Login alto luxo — LexImob (bordô #702020 + prata, identidade jurídica) */

html:has(.auth-body) {
  height: 100%;
  overflow: hidden;
}

.auth-body {
  margin: 0;
  height: 100dvh;
  max-height: 100dvh;
  overflow: hidden;
  font-family: "DM Sans", system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: #0f172a;
  background: #f3efe8;
}

@supports not (height: 100dvh) {
  .auth-body {
    height: 100vh;
    max-height: 100vh;
  }
}

/* —— Layout —— */
.auth-premium {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(420px, 540px);
  grid-template-rows: minmax(0, 1fr);
  height: 100dvh;
  max-height: 100dvh;
  width: 100%;
  position: relative;
  overflow: hidden;
}

@supports not (height: 100dvh) {
  .auth-premium {
    height: 100vh;
    max-height: 100vh;
  }
}

/* —— Hero —— */
.auth-premium__hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
  padding: clamp(1.5rem, 3.5vh, 3rem) clamp(2rem, 5vw, 4.5rem);
  overflow: hidden;
  background:
    radial-gradient(ellipse 120% 80% at 0% 100%, #0a0304 0%, transparent 55%),
    radial-gradient(ellipse 90% 60% at 100% 0%, rgba(112, 32, 32, 0.45) 0%, transparent 50%),
    linear-gradient(148deg, #0a0405 0%, #2a0c10 18%, var(--color-primary, #702020) 48%, #4a1418 72%, #0c0607 100%);
}

.auth-premium__noise,
.auth-premium__vignette,
.auth-premium__mesh,
.auth-premium__grid,
.auth-premium__orb,
.auth-premium__frame {
  position: absolute;
  pointer-events: none;
}

.auth-premium__noise {
  inset: 0;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px 180px;
  mix-blend-mode: overlay;
}

.auth-premium__vignette {
  inset: 0;
  background:
    radial-gradient(ellipse 85% 75% at 50% 45%, transparent 35%, rgba(0, 0, 0, 0.55) 100%);
}

.auth-premium__mesh {
  inset: 0;
  background:
    radial-gradient(ellipse 70% 55% at 12% 18%, rgba(255, 255, 255, 0.16), transparent 58%),
    radial-gradient(ellipse 55% 45% at 88% 82%, rgba(192, 192, 192, 0.12), transparent 52%),
    radial-gradient(ellipse 40% 35% at 55% 8%, rgba(112, 32, 32, 0.4), transparent 48%);
}

.auth-premium__grid {
  inset: 0;
  opacity: 0.055;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.65) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.65) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 75% 65% at 38% 42%, #000 15%, transparent 78%);
}

.auth-premium__orb {
  border-radius: 50%;
  filter: blur(72px);
  will-change: transform;
}

.auth-premium__orb--1 {
  width: min(480px, 58vw);
  height: min(480px, 58vw);
  top: -14%;
  right: -10%;
  background: rgba(192, 192, 192, 0.18);
  opacity: 0.55;
  animation: auth-orb-drift 20s ease-in-out infinite alternate;
}

.auth-premium__orb--2 {
  width: min(360px, 48vw);
  height: min(360px, 48vw);
  bottom: -12%;
  left: -8%;
  background: rgba(112, 32, 32, 0.65);
  opacity: 0.5;
  animation: auth-orb-drift 26s ease-in-out infinite alternate-reverse;
}

.auth-premium__orb--3 {
  width: min(200px, 30vw);
  height: min(200px, 30vw);
  top: 42%;
  left: 38%;
  background: rgba(255, 255, 255, 0.08);
  opacity: 0.35;
  animation: auth-orb-drift 16s ease-in-out infinite alternate;
}

@keyframes auth-orb-drift {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(28px, -22px) scale(1.08); }
}

/* Cantos decorativos */
.auth-premium__frame {
  inset: clamp(1.25rem, 3vw, 2.25rem);
  border: 1px solid rgba(192, 192, 192, 0.12);
}

.auth-premium__corner {
  position: absolute;
  width: 28px;
  height: 28px;
  border-color: rgba(192, 192, 192, 0.45);
  border-style: solid;
}

.auth-premium__corner--tl { top: -1px; left: -1px; border-width: 1px 0 0 1px; }
.auth-premium__corner--tr { top: -1px; right: -1px; border-width: 1px 1px 0 0; }
.auth-premium__corner--bl { bottom: -1px; left: -1px; border-width: 0 0 1px 1px; }
.auth-premium__corner--br { bottom: -1px; right: -1px; border-width: 0 1px 1px 0; }

.auth-premium__hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 36rem;
}

.auth-premium__brand {
  display: flex;
  align-items: center;
  gap: 1.15rem;
}

.auth-premium__brand--hero {
  margin-bottom: clamp(1rem, 2.5vh, 2.25rem);
}

.auth-premium__brand--panel {
  display: none;
}

.auth-premium__logo-ring {
  position: relative;
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(145deg, #fff 0%, #f0ece6 100%);
  box-shadow:
    0 0 0 1px rgba(192, 192, 192, 0.55),
    0 0 0 4px rgba(192, 192, 192, 0.12),
    0 16px 40px rgba(0, 0, 0, 0.35);
}

.auth-premium__logo-halo {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 1px solid rgba(192, 192, 192, 0.25);
  opacity: 0.7;
}

.auth-premium__logo-ring--sm {
  width: 46px;
  height: 46px;
  box-shadow:
    0 0 0 1px rgba(192, 192, 192, 0.4),
    0 8px 24px rgba(61, 16, 20, 0.15);
}

.auth-premium__logo {
  width: 76%;
  height: 76%;
  object-fit: contain;
}

.auth-premium__brand-name {
  margin: 0;
  font-family: var(--font-brand, "Cormorant Garamond", Georgia, serif);
  font-size: 1.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #fff;
  line-height: 1.05;
}

.auth-premium__brand-tag {
  margin: 0.4rem 0 0;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(192, 192, 192, 0.72);
}

.auth-premium__eyebrow {
  margin: 0 0 0.85rem;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(192, 192, 192, 0.65);
}

.auth-premium__headline {
  margin: 0 0 1.15rem;
  font-family: var(--font-brand, "Cormorant Garamond", Georgia, serif);
  font-size: clamp(2.15rem, 4.5vw, 3.15rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: 0.015em;
  color: #fff;
  text-shadow: 0 2px 40px rgba(0, 0, 0, 0.45);
}

.auth-premium__headline em {
  display: block;
  margin-top: 0.25em;
  font-size: 0.68em;
  font-style: normal;
  font-weight: 600;
  letter-spacing: 0.04em;
  background: linear-gradient(
    105deg,
    rgba(255, 255, 255, 0.88) 0%,
    var(--color-secondary, #c0c0c0) 45%,
    rgba(255, 255, 255, 0.9) 100%
  );
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: auth-shimmer 12s ease-in-out infinite;
}

@keyframes auth-shimmer {
  0%, 100% { background-position: 0% center; }
  50% { background-position: 200% center; }
}

.auth-premium__foil {
  width: min(280px, 70%);
  height: 1px;
  margin: 0 0 1.35rem;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(192, 192, 192, 0.15) 8%,
    rgba(192, 192, 192, 0.75) 50%,
    rgba(192, 192, 192, 0.15) 92%,
    transparent 100%
  );
  position: relative;
}

.auth-premium__foil::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 5px;
  height: 5px;
  transform: translate(-50%, -50%) rotate(45deg);
  background: var(--color-secondary, #c0c0c0);
  box-shadow: 0 0 12px rgba(192, 192, 192, 0.55);
}

.auth-premium__lead {
  margin: 0 0 clamp(1rem, 2.5vh, 2rem);
  font-size: clamp(0.95rem, 1.5vw, 1.06rem);
  line-height: 1.72;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.68);
  max-width: 33rem;
}

.auth-premium__pillars {
  list-style: none;
  margin: 0 0 clamp(1rem, 2.5vh, 2rem);
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.auth-premium__pillar {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 0.95rem 1.15rem;
  border-radius: 2px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.07) 0%, rgba(255, 255, 255, 0.03) 100%);
  border: 1px solid rgba(192, 192, 192, 0.14);
  border-left: 2px solid rgba(192, 192, 192, 0.35);
  backdrop-filter: blur(16px);
  transition: background 0.35s ease, border-color 0.35s ease, transform 0.35s ease;
}

.auth-premium__pillar:hover {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.11) 0%, rgba(255, 255, 255, 0.05) 100%);
  border-color: rgba(192, 192, 192, 0.28);
  transform: translateX(6px);
}

.auth-premium__pillar-ic {
  flex-shrink: 0;
  width: 2.35rem;
  height: 2.35rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 2px;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(192, 192, 192, 0.15);
  color: var(--color-secondary, #c0c0c0);
}

.auth-premium__pillar-ic svg {
  width: 1.1rem;
  height: 1.1rem;
}

.auth-premium__pillar-text {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  font-size: 0.83rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.65);
}

.auth-premium__pillar-text strong {
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #fff;
}

.auth-premium__trust {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(192, 192, 192, 0.45);
}

.auth-premium__trust svg {
  width: 0.95rem;
  height: 0.95rem;
  flex-shrink: 0;
  color: rgba(192, 192, 192, 0.55);
}

/* —— Painel login —— */
.auth-premium__panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 0;
  padding: clamp(1.25rem, 3vh, 2.5rem) clamp(1.75rem, 4vw, 2.75rem);
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 85% 55% at 50% 0%, rgba(112, 32, 32, 0.07) 0%, transparent 58%),
    radial-gradient(ellipse 65% 50% at 100% 100%, rgba(192, 192, 192, 0.35) 0%, transparent 52%),
    linear-gradient(172deg, #faf8f4 0%, #f3efe8 45%, #ebe4da 100%);
}

.auth-premium__panel::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 160px 160px;
  pointer-events: none;
}

@media (min-width: 961px) {
  .auth-premium__panel::after {
    content: "";
    position: absolute;
    top: 7%;
    bottom: 7%;
    left: 0;
    width: 1px;
    background: linear-gradient(
      180deg,
      transparent 0%,
      rgba(112, 32, 32, 0.12) 18%,
      rgba(192, 192, 192, 0.75) 50%,
      rgba(112, 32, 32, 0.12) 82%,
      transparent 100%
    );
    z-index: 2;
  }
}

.auth-premium__panel-glow {
  position: absolute;
  top: 12%;
  left: 50%;
  width: min(480px, 95%);
  height: min(480px, 65vw);
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(112, 32, 32, 0.05) 0%, transparent 65%);
  pointer-events: none;
}

.auth-premium__panel-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 26rem;
  flex-shrink: 0;
  padding: clamp(2rem, 3.8vw, 2.65rem) clamp(1.85rem, 3.2vw, 2.35rem);
  border-radius: 4px;
  background:
    linear-gradient(168deg, #faf8f4 0%, #fff 38%, #f7f3ed 100%);
  box-shadow:
    0 0 0 1px rgba(192, 192, 192, 0.5),
    0 0 0 1px rgba(112, 32, 32, 0.05) inset,
    0 1px 0 rgba(255, 255, 255, 0.95) inset,
    0 20px 48px -14px rgba(61, 16, 20, 0.2),
    0 10px 28px -10px rgba(15, 23, 42, 0.1);
}

.auth-premium__panel-inner::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(
    145deg,
    rgba(192, 192, 192, 0.65) 0%,
    rgba(112, 32, 32, 0.2) 35%,
    rgba(192, 192, 192, 0.45) 65%,
    rgba(112, 32, 32, 0.15) 100%
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.auth-premium__panel-inner::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  border-radius: 4px 4px 0 0;
  background: linear-gradient(
    90deg,
    var(--color-primary, #702020) 0%,
    var(--color-secondary, #c0c0c0) 28%,
    #fff 50%,
    var(--color-secondary, #c0c0c0) 72%,
    var(--color-primary, #702020) 100%
  );
  opacity: 0.92;
}

.auth-premium__panel-crest {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin: -0.35rem 0 1.35rem;
}

.auth-premium__crest-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(192, 192, 192, 0.55), transparent);
}

.auth-premium__diamond {
  width: 6px;
  height: 6px;
  transform: rotate(45deg);
  background: linear-gradient(135deg, var(--color-secondary, #c0c0c0), var(--color-primary, #702020));
  box-shadow: 0 0 10px rgba(192, 192, 192, 0.4);
  flex-shrink: 0;
}

.auth-premium__panel-head {
  margin-bottom: 1.5rem;
  text-align: center;
}

.auth-premium__card-title {
  margin: 0;
  font-family: var(--font-brand, "Cormorant Garamond", Georgia, serif);
  font-size: 1.9rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--color-primary, #702020);
  line-height: 1.15;
}

.auth-premium__card-lead {
  margin: 0.45rem 0 0;
  font-size: 0.86rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: #64748b;
}

.auth-premium__panel-title {
  margin: 0;
  font-family: var(--font-brand, "Cormorant Garamond", Georgia, serif);
  font-size: 1.95rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--color-primary, #702020);
  line-height: 1.1;
}

.auth-premium__panel-sub {
  margin: 0.35rem 0 0;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #94a3b8;
}

.auth-premium__form {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.auth-premium__field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.auth-premium__label {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #64748b;
}

.auth-premium__input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.auth-premium__input-ic {
  position: absolute;
  left: 0.9rem;
  width: 1rem;
  height: 1rem;
  color: #94a3b8;
  pointer-events: none;
  transition: color 0.25s ease;
}

.auth-premium__input-wrap--password .auth-premium__input {
  padding-right: 2.75rem;
}

.auth-premium__toggle-pw {
  position: absolute;
  right: 0.35rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  padding: 0;
  border: none;
  border-radius: 2px;
  background: transparent;
  color: #94a3b8;
  cursor: pointer;
  transition: color 0.2s ease, background 0.2s ease;
}

.auth-premium__toggle-pw:hover {
  color: var(--color-primary, #702020);
  background: rgba(112, 32, 32, 0.06);
}

.auth-premium__toggle-pw:focus-visible {
  outline: 2px solid var(--color-primary, #702020);
  outline-offset: 1px;
}

.auth-premium__eye {
  width: 1.05rem;
  height: 1.05rem;
}

.auth-premium__toggle-pw.is-visible .auth-premium__eye--show {
  display: none;
}

.auth-premium__toggle-pw.is-visible .auth-premium__eye--hide {
  display: block !important;
}

.auth-premium__toggle-pw:not(.is-visible) .auth-premium__eye--hide {
  display: none !important;
}

.auth-premium__input {
  width: 100%;
  box-sizing: border-box;
  padding: 0.82rem 0.9rem 0.82rem 2.65rem;
  font: inherit;
  font-size: 0.95rem;
  color: #0f172a;
  background: rgba(255, 255, 255, 0.7);
  border: none;
  border-bottom: 1px solid #d4cfc7;
  border-radius: 2px 2px 0 0;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.auth-premium__input::placeholder {
  color: #6b7280;
  font-weight: 400;
}

.auth-premium__input:hover {
  background: rgba(255, 255, 255, 0.95);
  border-bottom-color: #b8b0a4;
}

.auth-premium__input:focus {
  outline: none;
  background: #fff;
  border-bottom-color: var(--color-primary, #702020);
  box-shadow: 0 4px 12px -4px rgba(112, 32, 32, 0.2);
}

.auth-premium__input-wrap:focus-within .auth-premium__input-ic {
  color: var(--color-primary, #702020);
}

.auth-premium__form-meta {
  display: flex;
  justify-content: flex-end;
  margin-top: -0.15rem;
}

.auth-premium__link {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--color-primary, #702020);
  text-decoration: none;
  border-bottom: 1px solid rgba(112, 32, 32, 0.2);
  transition: border-color 0.2s, opacity 0.2s;
}

.auth-premium__link:hover {
  border-bottom-color: rgba(112, 32, 32, 0.55);
  opacity: 0.88;
}

.auth-premium__submit {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  width: 100%;
  margin-top: 0.5rem;
  padding: 0.92rem 1.35rem;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #fff;
  cursor: pointer;
  border: none;
  border-radius: 2px;
  overflow: hidden;
  background: linear-gradient(
    135deg,
    #9a3535 0%,
    var(--color-primary, #702020) 40%,
    #5a1818 100%
  );
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.12) inset,
    0 0 0 1px rgba(0, 0, 0, 0.15),
    0 12px 32px -6px rgba(112, 32, 32, 0.55);
  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
}

.auth-premium__submit-shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    transparent 35%,
    rgba(255, 255, 255, 0.14) 50%,
    transparent 65%
  );
  transform: translateX(-120%);
  transition: transform 0.65s ease;
}

.auth-premium__submit:hover .auth-premium__submit-shine {
  transform: translateX(120%);
}

.auth-premium__submit svg {
  width: 1rem;
  height: 1rem;
  transition: transform 0.25s ease;
}

.auth-premium__submit:hover {
  filter: brightness(1.06);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.15) inset,
    0 0 0 1px rgba(0, 0, 0, 0.12),
    0 16px 40px -6px rgba(112, 32, 32, 0.62);
  transform: translateY(-2px);
}

.auth-premium__submit:hover svg {
  transform: translateX(4px);
}

.auth-premium__submit:active {
  transform: translateY(0);
}

.auth-premium__submit:focus-visible {
  outline: 2px solid var(--color-secondary, #c0c0c0);
  outline-offset: 3px;
}

.auth-premium__fine {
  margin: 1.35rem 0 0;
  padding-top: 1.15rem;
  font-size: 0.72rem;
  line-height: 1.55;
  text-align: center;
  letter-spacing: 0.02em;
  color: #a8a093;
  border-top: 1px solid rgba(192, 192, 192, 0.35);
}

.auth-premium__panel-inner .flash-stack {
  margin-bottom: 0.85rem;
}

.auth-premium__panel-inner .flash {
  font-size: 0.84rem;
  border-radius: 2px;
}

/* Rodapé no painel claro */
.auth-premium__foot {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 26rem;
  margin-top: clamp(0.85rem, 2vh, 1.75rem);
  flex-shrink: 0;
}

.auth-premium__foot .auth-page__foot {
  margin: 0;
  padding-top: 0;
  border-top: none;
}

.auth-premium__foot .auth-page__foot__line {
  color: #5f6876;
  font-size: 0.76rem;
}

.auth-premium__foot .auth-page__foot__site-link {
  color: #5f6876;
}

.auth-premium__foot .auth-page__foot__site-link:hover {
  color: var(--color-primary, #702020);
}

.auth-premium__foot .auth-page__foot__copy {
  color: var(--color-primary, #702020);
  text-shadow: none;
}

.auth-premium__foot .auth-page__foot__brand {
  color: #3d4654;
  text-shadow: none;
}

.auth-premium__foot .auth-page__foot__tag {
  color: #7c8594;
}

.auth-premium__foot .auth-page__foot__rights {
  color: #94a3b8;
}

/* Entrada suave */
[data-auth-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.auth-premium.is-ready [data-auth-reveal] {
  opacity: 1;
  transform: none;
}

.auth-premium.is-ready .auth-premium__hero-inner [data-auth-reveal]:nth-child(2) { transition-delay: 0.05s; }
.auth-premium.is-ready .auth-premium__hero-inner [data-auth-reveal]:nth-child(3) { transition-delay: 0.1s; }
.auth-premium.is-ready .auth-premium__hero-inner [data-auth-reveal]:nth-child(4) { transition-delay: 0.15s; }
.auth-premium.is-ready .auth-premium__hero-inner [data-auth-reveal]:nth-child(5) { transition-delay: 0.2s; }
.auth-premium.is-ready .auth-premium__hero-inner [data-auth-reveal]:nth-child(6) { transition-delay: 0.26s; }
.auth-premium.is-ready .auth-premium__hero-inner [data-auth-reveal]:nth-child(7) { transition-delay: 0.32s; }
.auth-premium.is-ready .auth-premium__hero-inner [data-auth-reveal]:nth-child(8) { transition-delay: 0.38s; }

@media (prefers-reduced-motion: reduce) {
  .auth-premium__headline em,
  .auth-premium__orb,
  [data-auth-reveal] {
    animation: none !important;
    transition: none !important;
  }

  [data-auth-reveal] {
    opacity: 1;
    transform: none;
  }
}

/* Variante centralizada (esqueci senha) */
.auth-premium--solo {
  grid-template-columns: 1fr;
  place-items: center;
  padding: 2rem 1rem;
  height: 100dvh;
  max-height: 100dvh;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(112, 32, 32, 0.25) 0%, transparent 55%),
    linear-gradient(155deg, #0a0405 0%, var(--color-primary, #702020) 45%, #120608 100%);
}

@supports not (height: 100dvh) {
  .auth-premium--solo {
    height: 100vh;
    max-height: 100vh;
  }
}

.auth-premium--solo .auth-premium__panel {
  background: transparent;
  padding: 0;
  max-width: 24rem;
  width: 100%;
}

.auth-premium--solo .auth-premium__panel-glow {
  display: none;
}

.auth-premium--solo .auth-premium__foot .auth-page__foot__line,
.auth-premium--solo .auth-premium__foot .auth-page__foot__rights {
  color: rgba(255, 255, 255, 0.5);
}

.auth-premium--solo .auth-premium__foot .auth-page__foot__brand {
  color: #fff;
}

.auth-premium--solo .auth-premium__foot .auth-page__foot__copy {
  color: var(--color-secondary, #c0c0c0);
}

/* Telas baixas — compactar hero sem rolagem */
@media (max-height: 860px) {
  .auth-premium__headline {
    font-size: clamp(1.85rem, 3.2vw, 2.5rem);
    margin-bottom: 0.75rem;
  }

  .auth-premium__eyebrow {
    margin-bottom: 0.5rem;
  }

  .auth-premium__foil {
    margin-bottom: 0.85rem;
  }

  .auth-premium__pillar {
    padding: 0.7rem 0.95rem;
  }

  .auth-premium__pillars {
    gap: 0.4rem;
  }

  .auth-premium__panel-inner {
    padding: 1.35rem 1.5rem;
  }

  .auth-premium__panel-crest {
    margin-bottom: 1rem;
  }
}

@media (max-height: 720px) {
  .auth-premium__pillars {
    display: none;
  }

  .auth-premium__trust {
    display: none;
  }

  .auth-premium__lead {
    margin-bottom: 0;
  }

  .auth-premium__fine {
    margin-top: 0.85rem;
    padding-top: 0.85rem;
  }

  .auth-premium__form {
    gap: 0.85rem;
  }

  .auth-premium__foot {
    margin-top: 0.65rem;
  }
}

/* Responsivo */
@media (max-width: 960px) {
  .auth-premium {
    grid-template-columns: 1fr;
    grid-template-rows: minmax(0, auto) minmax(0, 1fr);
  }

  .auth-premium__frame {
    display: none;
  }

  .auth-premium__hero {
    padding: 0.7rem 1.15rem 0.5rem;
    align-items: flex-start;
  }

  .auth-premium__hero-inner {
    max-width: none;
  }

  .auth-premium__eyebrow,
  .auth-premium__foil,
  .auth-premium__lead {
    display: none;
  }

  .auth-premium__headline {
    font-size: 0.92rem;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 0;
    font-family: "DM Sans", system-ui, sans-serif;
    text-shadow: none;
  }

  .auth-premium__headline em {
    display: inline;
    font-size: inherit;
    font-weight: 500;
    letter-spacing: 0.01em;
    animation: none;
    background: none;
    -webkit-text-fill-color: rgba(255, 255, 255, 0.78);
    color: rgba(255, 255, 255, 0.78);
  }

  .auth-premium__headline br {
    display: none;
  }

  .auth-premium__pillars,
  .auth-premium__trust {
    display: none;
  }

  .auth-premium__brand--hero {
    margin-bottom: 0.4rem;
  }

  .auth-premium__brand-name {
    font-size: 1.15rem;
  }

  .auth-premium__brand-tag {
    margin-top: 0.2rem;
    font-size: 0.55rem;
  }

  .auth-premium__logo-ring {
    width: 38px;
    height: 38px;
  }

  .auth-premium__panel {
    flex: 1;
    min-height: 0;
    border-radius: 0;
    padding: 0.45rem 1.15rem 0.85rem;
    justify-content: flex-start;
    align-items: center;
  }

  .auth-premium__panel-inner {
    border-radius: 4px;
    width: 100%;
    max-width: 22rem;
    margin: 0 auto;
    flex-shrink: 0;
    box-shadow:
      0 0 0 1px rgba(192, 192, 192, 0.35),
      0 16px 40px -12px rgba(61, 16, 20, 0.18),
      0 8px 24px -8px rgba(15, 23, 42, 0.1);
  }

  .auth-premium__foot {
    max-width: 22rem;
    width: 100%;
    margin: 0.65rem auto 0;
    padding: 0;
    text-align: center;
  }
}

@media (max-width: 420px) {
  .auth-premium__panel-inner {
    padding: 1.5rem 1.25rem;
  }

  .auth-premium__corner {
    width: 18px;
    height: 18px;
  }
}

/* Legado mínimo (telas antigas que ainda usem .auth-page) */
.auth-page {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.5rem 1rem 2rem;
}

.auth-page__bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  background: linear-gradient(165deg, #3d1014 0%, var(--color-primary, #702020) 38%, #5c1818 72%, #2a0c0e 100%);
}

.auth-page__shell {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 420px;
}

.auth-card {
  border-radius: 16px;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 24px 48px -12px rgba(0, 0, 0, 0.35);
}

.auth-card__accent {
  height: 3px;
  background: linear-gradient(90deg, var(--color-primary, #702020), var(--color-secondary, #c0c0c0), var(--color-primary, #702020));
}

.auth-card__inner {
  padding: 1.75rem;
}

.auth-card__title {
  margin: 0;
  font-family: var(--font-brand, "Cormorant Garamond", Georgia, serif);
  color: var(--color-primary, #702020);
}

.auth-page__foot {
  margin: 2rem 0 0;
  padding-top: 1.35rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

.auth-page__foot__line {
  margin: 0;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.78);
}

.auth-page__foot__site-link {
  color: inherit;
  text-decoration: none;
}

.auth-page__foot__copy {
  color: var(--color-secondary, #c0c0c0);
}

.auth-page__foot__brand {
  font-weight: 700;
  color: #fff;
}

.auth-page__foot__rights {
  margin: 0.5rem 0 0;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.42);
}
