/* ==========================================================================
   FACILIT NEXUS — Enterprise Intelligence Platform
   Reset & Base
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  width: 100%;
  min-height: 100vh;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: #0b1227;
  color: #ffffff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow: hidden;
}

/* ==========================================================================
   CAMADA DE FUNDO ANIMADA
   ========================================================================== */
.scene {
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 55% 70% at 72% 50%, rgba(0, 170, 255, 0.22) 0%, transparent 65%),
    radial-gradient(ellipse 40% 50% at 20% 45%, rgba(10, 60, 160, 0.12) 0%, transparent 60%),
    #0b1227;
  z-index: 0;
}

/* ==========================================================================
   WRAPPER PRINCIPAL — SPLIT 50/50
   ========================================================================== */
.page {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 5%;
}

.split {
  width: 100%;
  max-width: 1200px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 2rem;
}

/* ==========================================================================
   LADO ESQUERDO — BRANDING
   ========================================================================== */
.brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
}

/* Logo */
.brand-logo {
  width: 185px;
  height: 185px;
  object-fit: contain;
  filter: drop-shadow(0 8px 24px rgba(0,0,0,0.65));
  margin-bottom: 1.4rem;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.brand-logo:hover {
  transform: scale(1.04);
}

/* Nome da plataforma */
.brand-name {
  display: flex;
  flex-direction: column;
  line-height: 1;
  margin-bottom: 0.55rem;
}

.brand-facilit {
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
  font-size: 3.5rem;
  font-weight: 700;
  font-style: italic;
  color: #ffffff;
  letter-spacing: -0.02em;
  line-height: 1;
}

.brand-nexus-row {
  display: flex;
  align-items: flex-start;
}

.brand-nexus {
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
  font-size: 4.5rem;
  font-weight: 900;
  letter-spacing: -0.01em;
  line-height: 1;
  background: linear-gradient(90deg, #3B82F6 0%, #22C55E 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.brand-tm {
  font-size: 1rem;
  font-weight: 600;
  color: #94a3b8;
  -webkit-text-fill-color: #94a3b8;
  margin-left: 4px;
  margin-top: 6px;
  line-height: 1;
}

/* Subtítulo */
.brand-platform {
  font-size: 1rem;
  font-weight: 400;
  color: #8296b0;
  letter-spacing: 0.01em;
  margin-top: 0.25rem;
  margin-bottom: 3.5rem;
}

/* Slogan */
.brand-slogan {
  font-family: 'Outfit', 'Inter', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.42em;
  color: #6b7d95;
  text-transform: uppercase;
}

/* ==========================================================================
   LADO DIREITO — CARD DE LOGIN
   ========================================================================== */
.card-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

/* Aura neon atrás do card */
.card-wrapper::before {
  content: '';
  position: absolute;
  inset: -40px;
  background: radial-gradient(
    ellipse 80% 80% at 60% 50%,
    rgba(0, 190, 255, 0.28) 0%,
    rgba(30, 80, 200, 0.14) 45%,
    transparent 70%
  );
  filter: blur(30px);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  animation: auraPulse 7s ease-in-out infinite alternate;
}

@keyframes auraPulse {
  from { opacity: 0.8; transform: scale(0.96); }
  to   { opacity: 1;   transform: scale(1.04); }
}

/* O card */
.card {
  position: relative;
  z-index: 1;
  width: 360px;
  background: rgba(14, 24, 52, 0.72);
  backdrop-filter: blur(28px) saturate(160%);
  -webkit-backdrop-filter: blur(28px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 18px;
  padding: 2.2rem 2rem 1.6rem 2rem;
  box-shadow:
    0 30px 70px rgba(0, 0, 0, 0.65),
    0 0 0 0.5px rgba(255,255,255,0.08),
    inset 0 1px 0 rgba(255,255,255,0.14);
}

/* Título do card */
.card-title {
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1.6rem;
  letter-spacing: -0.01em;
}

/* Formulário */
.form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* Grupo de campo */
.field {
  position: relative;
}

/* Label flutuante acima da borda — estilo "notch" */
.field-label {
  position: absolute;
  top: -9px;
  left: 12px;
  z-index: 2;
  font-size: 0.7rem;
  font-weight: 500;
  color: #94a3b8;
  background: #111d3a;
  padding: 0 6px;
  border-radius: 3px;
  pointer-events: none;
  letter-spacing: 0.01em;
  transition: color 0.25s;
}

.field:focus-within .field-label {
  color: #60a5fa;
}

/* Wrapper com ícone + input */
.field-inner {
  display: flex;
  align-items: center;
  background: rgba(10, 18, 38, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 9px;
  height: 44px;
  transition: border-color 0.25s, box-shadow 0.25s;
}

.field-inner:focus-within {
  border-color: rgba(99, 179, 255, 0.55);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.18);
  background: rgba(10, 18, 42, 0.9);
}

/* Ícone */
.field-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  padding-left: 12px;
  padding-right: 8px;
  color: #64748b;
  transition: color 0.25s;
}

.field-inner:focus-within .field-icon {
  color: #60a5fa;
}

.field-icon svg {
  width: 17px;
  height: 17px;
}

/* Input */
.field-input {
  flex: 1;
  height: 100%;
  background: transparent;
  border: none;
  outline: none;
  color: #e2e8f0;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  padding-right: 10px;
}

.field-input::placeholder {
  color: transparent;
}

/* Botão olho (senha) */
.btn-eye {
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  padding-right: 12px;
  color: #64748b;
  transition: color 0.25s;
}

.btn-eye:hover { color: #cbd5e1; }

.btn-eye svg {
  width: 17px;
  height: 17px;
}

/* Botão Entrar */
.btn-submit {
  width: 100%;
  height: 44px;
  border: none;
  border-radius: 9px;
  background: linear-gradient(90deg, #2563EB 0%, #16A34A 100%);
  color: #ffffff;
  font-family: 'Plus Jakarta Sans', 'Inter', sans-serif;
  font-size: 0.97rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 0.2rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4), 0 2px 8px rgba(22, 163, 74, 0.25);
  transition: transform 0.2s, box-shadow 0.2s, opacity 0.2s;
}

.btn-submit::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.18) 50%, transparent 100%);
  transform: translateX(-100%);
  transition: transform 0.6s;
}

.btn-submit:hover::before {
  transform: translateX(100%);
}

.btn-submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 26px rgba(37, 99, 235, 0.5), 0 4px 10px rgba(22, 163, 74, 0.35);
}

.btn-submit:active {
  transform: translateY(0);
  opacity: 0.9;
}

.btn-submit.loading .btn-label { display: none; }

.btn-spinner {
  display: none;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255,255,255,0.35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.75s linear infinite;
}

.btn-submit.loading .btn-spinner { display: block; }

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

/* Link esqueci senha */
.link-forgot {
  text-align: center;
  font-size: 0.82rem;
  color: #8296b0;
  text-decoration: none;
  display: block;
  transition: color 0.2s;
}

.link-forgot:hover { color: #93c5fd; }

/* Rodapé do card */
.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 1.6rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.footer-copy {
  font-size: 0.67rem;
  color: #4b607d;
  letter-spacing: 0.01em;
}

/* Badge SECURE */
.badge-secure {
  display: flex;
  align-items: center;
  gap: 6px;
}

.badge-shield {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.badge-shield svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 0 5px rgba(34, 197, 94, 0.45));
}

.badge-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.badge-conn {
  font-size: 0.5rem;
  font-weight: 500;
  color: #94a3b8;
  letter-spacing: 0.04em;
  text-transform: lowercase;
}

.badge-secure-text {
  font-size: 0.68rem;
  font-weight: 800;
  color: #e2e8f0;
  letter-spacing: 0.06em;
}

/* ==========================================================================
   MODAL — EM DESENVOLVIMENTO
   ========================================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(4, 7, 18, 0.85);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  padding: 1.5rem;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: all;
}

/* Caixa do modal */
.modal-box {
  width: 100%;
  max-width: 460px;
  transform: scale(0.9) translateY(16px);
  transition: transform 0.38s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modal-overlay.active .modal-box {
  transform: scale(1) translateY(0);
}

/* Variante "Em Desenvolvimento" */
.dev-modal-box {
  background: #0f1a2e;
  border: 1px solid rgba(245, 158, 11, 0.28);
  border-radius: 20px;
  padding: 2.2rem 2rem 2rem;
  box-shadow:
    0 32px 70px rgba(0, 0, 0, 0.85),
    0 0 40px rgba(245, 158, 11, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  text-align: center;
}

/* Ícone animado */
.dev-icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.1rem;
}

.dev-icon {
  width: 64px;
  height: 64px;
  filter: drop-shadow(0 0 14px rgba(245, 158, 11, 0.45));
}

/* Anel tracejado giratório */
.dev-ring {
  animation: devSpin 8s linear infinite;
  transform-origin: center;
  transform-box: fill-box;
}

@keyframes devSpin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* Badge */
.dev-pill {
  display: inline-block;
  padding: 0.28rem 0.9rem;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.35);
  border-radius: 20px;
  color: #fbbf24;
  font-size: 0.73rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: 1rem;
}

/* Título */
.dev-modal-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1.45rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.7rem;
  letter-spacing: -0.01em;
}

/* Descrição */
.dev-modal-desc {
  font-size: 0.88rem;
  line-height: 1.65;
  color: #7b90aa;
  margin-bottom: 1.5rem;
}

.dev-modal-desc strong { color: #e2e8f0; }

/* Barra de progresso */
.dev-progress-wrap {
  margin-bottom: 1.4rem;
  text-align: left;
}

.dev-progress-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.45rem;
}

.dev-progress-label {
  font-size: 0.72rem;
  color: #7b90aa;
  font-weight: 500;
}

.dev-progress-pct {
  font-size: 0.72rem;
  color: #fbbf24;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.dev-progress-bar {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.07);
  border-radius: 99px;
  overflow: hidden;
}

.dev-progress-fill {
  height: 100%;
  width: 42%;
  background: linear-gradient(90deg, #f59e0b, #f97316);
  border-radius: 99px;
  position: relative;
  animation: progressShimmer 2.5s ease-in-out infinite;
}

.dev-progress-fill::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
  animation: shimmer 2s ease-in-out infinite;
}

@keyframes shimmer {
  0%   { left: -60%; }
  100% { left: 160%; }
}

@keyframes progressShimmer {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.85; }
}

/* Lista de recursos em desenvolvimento */
.dev-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
  margin-bottom: 1.7rem;
  text-align: left;
}

.dev-feature-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 9px;
  padding: 0.6rem 0.75rem;
  font-size: 0.76rem;
  color: #c4d0df;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  line-height: 1.3;
}

/* Pontos de status */
.dev-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}

.dot-yellow {
  background: #fbbf24;
  box-shadow: 0 0 6px rgba(251, 191, 36, 0.6);
}

.dot-orange {
  background: #f97316;
  box-shadow: 0 0 6px rgba(249, 115, 22, 0.5);
}

/* Botão de fechar */
.dev-btn-close {
  width: 100%;
  height: 46px;
  background: linear-gradient(90deg, #d97706, #ea580c);
  color: #ffffff;
  border: none;
  border-radius: 10px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  letter-spacing: 0.01em;
  box-shadow: 0 6px 20px rgba(217, 119, 6, 0.35);
  transition: opacity 0.2s, transform 0.2s, box-shadow 0.2s;
}

.dev-btn-close:hover {
  opacity: 0.92;
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(217, 119, 6, 0.5);
}

/* Responsividade do modal em mobile */
@media (max-width: 599px) {
  .dev-modal-box  { padding: 1.7rem 1.3rem 1.6rem; border-radius: 16px; }
  .dev-modal-title { font-size: 1.25rem; }
  .dev-modal-desc  { font-size: 0.83rem; }
  .dev-features    { grid-template-columns: 1fr; gap: 0.45rem; }
  .dev-feature-item { font-size: 0.74rem; padding: 0.55rem 0.7rem; }
  .dev-btn-close   { height: 44px; font-size: 0.85rem; }
  .dev-icon        { width: 52px; height: 52px; }
}

/* ==========================================================================
   RESPONSIVIDADE COMPLETA
   Desktop Large  : 1280px+
   Desktop / Laptop: 1024px – 1279px
   Tablet Landscape: 768px – 1023px
   Tablet Portrait : 600px – 767px
   Mobile          : até 599px
   Mobile Small    : até 380px
   ========================================================================== */

/* ── Desktop Large (1280px+) ─────────────────────────────────── */
/* Todas as regras base já são para este breakpoint. Apenas refinamentos: */
@media (min-width: 1280px) {
  .split {
    gap: 6rem;
  }

  .brand-logo    { width: 200px; height: 200px; }
  .brand-facilit { font-size: 4rem; }
  .brand-nexus   { font-size: 5rem; }
  .brand-platform { font-size: 1.1rem; margin-bottom: 4rem; }
  .brand-slogan  { font-size: 0.85rem; letter-spacing: 0.45em; }

  .card          { width: 390px; padding: 2.6rem 2.4rem 2rem; }
  .card-title    { font-size: 1.65rem; margin-bottom: 1.8rem; }
  .field-inner   { height: 48px; }
  .btn-submit    { height: 48px; font-size: 1rem; }
}

/* ── Desktop / Laptop (1024px – 1279px) ──────────────────────── */
@media (min-width: 1024px) and (max-width: 1279px) {
  .split {
    gap: 4rem;
    max-width: 1050px;
  }

  .brand-logo    { width: 175px; height: 175px; }
  .brand-facilit { font-size: 3.4rem; }
  .brand-nexus   { font-size: 4.3rem; }
  .brand-platform { font-size: 0.98rem; margin-bottom: 3.5rem; }
  .brand-slogan  { font-size: 0.76rem; letter-spacing: 0.4em; }

  .card          { width: 360px; }
  .card-title    { font-size: 1.5rem; }
}

/* ── Tablet Landscape (768px – 1023px) ───────────────────────── */
@media (min-width: 768px) and (max-width: 1023px) {
  html, body { overflow-y: auto; }

  .page {
    height: auto;
    min-height: 100vh;
    padding: 3.5rem 4%;
    align-items: center;
  }

  .split {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    max-width: 940px;
    align-items: center;
  }

  /* Branding */
  .brand {
    align-items: flex-start;
  }

  .brand-logo    { width: 145px; height: 145px; margin-bottom: 1.1rem; }
  .brand-facilit { font-size: 2.6rem; }
  .brand-nexus   { font-size: 3.2rem; }
  .brand-tm      { font-size: 0.85rem; margin-top: 5px; }
  .brand-platform { font-size: 0.88rem; margin-bottom: 2.5rem; }
  .brand-slogan  { font-size: 0.7rem; letter-spacing: 0.34em; }

  /* Card */
  .card-wrapper::before { inset: -25px; }
  .card          { width: 100%; max-width: 360px; padding: 2rem 1.8rem 1.6rem; }
  .card-title    { font-size: 1.35rem; margin-bottom: 1.4rem; }
  .field-inner   { height: 42px; }
  .field-label   { font-size: 0.68rem; }
  .btn-submit    { height: 42px; font-size: 0.93rem; }
  .link-forgot   { font-size: 0.79rem; }
  .footer-copy   { font-size: 0.63rem; }

  /* Aura do fundo adaptada */
  .scene {
    background:
      radial-gradient(ellipse 60% 70% at 68% 50%, rgba(0, 170, 255, 0.22) 0%, transparent 65%),
      #0b1227;
  }
}

/* ── Tablet Portrait (600px – 767px) ─────────────────────────── */
@media (min-width: 600px) and (max-width: 767px) {
  html, body { overflow-y: auto; }

  .page {
    height: auto;
    min-height: 100vh;
    padding: 3rem 2rem;
    align-items: flex-start;
    justify-content: center;
  }

  .split {
    grid-template-columns: 1fr;
    gap: 2.2rem;
    max-width: 480px;
    margin: 0 auto;
  }

  /* Branding — centralizado */
  .brand {
    align-items: center;
    text-align: center;
  }

  .brand-logo    { width: 130px; height: 130px; margin-bottom: 1.2rem; }
  .brand-facilit { font-size: 2.8rem; }
  .brand-nexus   { font-size: 3.5rem; }
  .brand-tm      { font-size: 0.9rem; margin-top: 5px; }
  .brand-platform { font-size: 0.9rem; margin-bottom: 0; }
  .brand-slogan  { display: none; } /* retira slogan em portrait tablet */

  /* Card — full width */
  .card-wrapper  { width: 100%; }
  .card          { width: 100%; max-width: 100%; padding: 2rem 1.8rem 1.6rem; }
  .card-title    { font-size: 1.4rem; margin-bottom: 1.4rem; }
  .field-inner   { height: 44px; }
  .btn-submit    { height: 44px; }

  /* Aura central */
  .card-wrapper::before {
    background: radial-gradient(
      ellipse 90% 80% at 50% 50%,
      rgba(0, 190, 255, 0.25) 0%,
      transparent 70%
    );
    inset: -20px;
  }

  .scene {
    background:
      radial-gradient(ellipse 70% 55% at 50% 55%, rgba(0, 170, 255, 0.18) 0%, transparent 65%),
      #0b1227;
  }
}

/* ── Mobile (até 599px) ──────────────────────────────────────── */
@media (max-width: 599px) {
  html, body { overflow-y: auto; }

  .page {
    height: auto;
    min-height: 100vh;
    padding: 2.2rem 1.2rem 2.5rem;
    align-items: flex-start;
  }

  .split {
    grid-template-columns: 1fr;
    gap: 1.8rem;
    max-width: 100%;
  }

  /* Branding — centralizado */
  .brand {
    align-items: center;
    text-align: center;
  }

  .brand-logo    { width: 110px; height: 110px; margin-bottom: 0.9rem; }
  .brand-facilit { font-size: 2.1rem; }
  .brand-nexus   { font-size: 2.7rem; }
  .brand-tm      { font-size: 0.78rem; margin-top: 4px; }
  .brand-platform { font-size: 0.82rem; margin-top: 0.2rem; margin-bottom: 0; }
  .brand-slogan  { display: none; }

  /* Card — full width, padding reduzido */
  .card-wrapper  { width: 100%; }
  .card {
    width: 100%;
    border-radius: 16px;
    padding: 1.7rem 1.3rem 1.4rem;
  }
  .card-title    { font-size: 1.25rem; margin-bottom: 1.3rem; }

  .form          { gap: 0.9rem; }

  .field-inner   { height: 44px; border-radius: 8px; }
  .field-label   { font-size: 0.67rem; top: -8px; left: 10px; }
  .field-icon    { padding-left: 10px; padding-right: 6px; }
  .field-icon svg { width: 16px; height: 16px; }
  .field-input   { font-size: 0.88rem; }

  .btn-submit    { height: 44px; font-size: 0.93rem; border-radius: 8px; }
  .link-forgot   { font-size: 0.8rem; }

  .card-footer   { margin-top: 1.3rem; padding-top: 0.85rem; }
  .footer-copy   { font-size: 0.62rem; }
  .badge-shield  { width: 19px; height: 19px; }
  .badge-conn    { font-size: 0.46rem; }
  .badge-secure-text { font-size: 0.63rem; }

  /* Aura central/inferior em mobile */
  .card-wrapper::before {
    background: radial-gradient(
      ellipse 100% 80% at 50% 50%,
      rgba(0, 190, 255, 0.22) 0%,
      transparent 70%
    );
    inset: -15px;
    filter: blur(20px);
  }

  .scene {
    background:
      radial-gradient(ellipse 90% 50% at 50% 60%, rgba(0, 150, 240, 0.16) 0%, transparent 70%),
      #0b1227;
  }

  /* Modal em mobile */
  .modal-box     { padding: 1.6rem 1.4rem 1.4rem; border-radius: 14px; }
  .modal-title   { font-size: 1.2rem; }
  .modal-desc    { font-size: 0.83rem; }
  .modal-grid    { grid-template-columns: 1fr; gap: 0.5rem; }
  .modal-item    { font-size: 0.75rem; padding: 0.55rem 0.7rem; }
  .btn-modal-close { height: 42px; font-size: 0.88rem; }
}

/* ── Mobile Pequeno (até 380px) ──────────────────────────────── */
@media (max-width: 380px) {
  .brand-logo    { width: 90px;  height: 90px; }
  .brand-facilit { font-size: 1.85rem; }
  .brand-nexus   { font-size: 2.3rem; }
  .brand-platform { font-size: 0.76rem; }

  .card          { padding: 1.5rem 1.1rem 1.2rem; }
  .card-title    { font-size: 1.15rem; margin-bottom: 1.1rem; }

  .field-inner   { height: 42px; }
  .btn-submit    { height: 42px; font-size: 0.88rem; }

  .page          { padding: 1.8rem 1rem 2rem; }
}
