/* ====================================================================
   MAGNUS PULVERIZADORES — ESTILOS DA TELA DE LOGIN (SPLIT SCREEN)
   Design System Institucional com Azul #003D6A e Verde #95C05D
   ==================================================================== */

:root {
  --brand: #003D6A;
  --brand-hover: #002D50;
  --brand-tint: #EBF3F8;
  --green: #95C05D;
  --green-hover: #82a850;
  --green-tint: #F0F7E8;
  --bg-canvas: #F4F6F8;
  --bg-surface: #FFFFFF;
  --line-soft: #E5E8EB;
  --ink: #1C252E;
  --ink-muted: #637381;
  --radius: 12px;
  --shadow: 0 8px 30px rgba(0, 61, 106, 0.08);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-decoration: none !important;
}

body {
  font-family: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--bg-canvas);
  color: var(--ink);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

.login-split-container {
  display: flex;
  min-height: 100vh;
}

/* LADO VISUAL ESQUERDO (Foto + Gradiente + Frases) */
.login-visual-lado {
  flex: 1 1 52%;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 56px;
  background-image: url('../images/login-bg.jpg');
  background-size: cover;
  background-position: center;
  color: #FFFFFF;
}

.login-visual-lado::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    175deg,
    rgba(0, 61, 106, 0.55) 0%,
    rgba(0, 61, 106, 0.85) 50%,
    rgba(0, 35, 61, 0.96) 100%
  );
  z-index: 1;
}

.visual-conteudo-topo {
  position: relative;
  z-index: 2;
}

.visual-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  color: var(--green);
  border: 1px solid rgba(149, 192, 93, 0.3);
}

.visual-conteudo-centro {
  position: relative;
  z-index: 2;
  max-width: 480px;
  margin: auto 0;
}

.visual-titulo {
  font-size: 32px;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.visual-titulo span {
  color: var(--green);
}

.visual-subtitulo {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.6;
  margin-bottom: 32px;
}

.visual-beneficios {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.visual-beneficios li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 500;
}

.visual-beneficios svg {
  width: 18px;
  height: 18px;
  stroke: var(--green);
  fill: none;
  background: rgba(255, 255, 255, 0.1);
  padding: 6px;
  border-radius: 8px;
  box-sizing: content-box;
}

.visual-rodape {
  position: relative;
  z-index: 2;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
}

/* LADO DIREITO (Card do Formulário) */
.login-form-lado {
  flex: 1 1 48%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 24px;
  background: var(--bg-canvas);
}

.login-card {
  width: 100%;
  max-width: 440px;
  background: var(--bg-surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 44px 38px;
  box-shadow: var(--shadow);
  animation: entraCard 0.4s ease-out;
}

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

.login-logo {
  display: block;
  max-width: 210px;
  height: auto;
  margin: 0 auto 24px auto;
}

.login-header {
  text-align: center;
  margin-bottom: 28px;
}

.login-header h1 {
  font-size: 22px;
  font-weight: 800;
  color: var(--brand);
  margin-bottom: 6px;
}

.login-header p {
  font-size: 13.5px;
  color: var(--ink-muted);
}

.form-alerta {
  padding: 12px 14px;
  border-radius: 8px;
  font-size: 13px;
  margin-bottom: 18px;
  display: none;
}

.form-alerta.erro {
  background: #FDECEC;
  border: 1px solid #F5C2C2;
  color: #D64545;
  display: block;
}

.campo-grupo {
  margin-bottom: 18px;
}

.campo-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 6px;
}

.input-com-icone {
  position: relative;
  display: flex;
  align-items: center;
}

.input-com-icone svg.icone-campo {
  position: absolute;
  left: 14px;
  width: 18px;
  height: 18px;
  stroke: var(--ink-muted);
  fill: none;
  pointer-events: none;
}

.input-controle {
  width: 100%;
  height: 46px;
  padding: 10px 14px 10px 44px;
  font-size: 14px;
  color: var(--ink);
  background: var(--bg-canvas);
  border: 1.5px solid var(--line-soft);
  border-radius: 8px;
  transition: all 0.2s ease;
  font-family: inherit;
}

.input-controle:focus {
  outline: none;
  border-color: var(--brand);
  background: var(--bg-surface);
  box-shadow: 0 0 0 3px rgba(0, 61, 106, 0.12);
}

.btn-olho-senha {
  position: absolute;
  right: 12px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  color: var(--ink-muted);
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-olho-senha:hover {
  color: var(--brand);
}

.btn-olho-senha svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
}

.btn-login-entrar {
  width: 100%;
  height: 48px;
  margin-top: 10px;
  background: var(--brand);
  color: #FFFFFF;
  border: none;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.1s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-login-entrar:hover {
  background: var(--brand-hover);
}

.btn-login-entrar:active {
  transform: scale(0.99);
}

.login-rodape-info {
  margin-top: 26px;
  text-align: center;
  font-size: 12px;
  color: var(--ink-muted);
}

/* RESPONSIVIDADE PARA CELULAR */
@media (max-width: 900px) {
  .login-visual-lado {
    display: none;
  }
  .login-form-lado {
    flex: 1 1 100%;
    padding: 20px 16px;
  }
  .login-card {
    padding: 32px 22px;
    box-shadow: none;
    border: none;
    background: transparent;
  }
}

