/* ============================================================
   HC LOCAÇÃO — Login
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@400;700;800;900&family=Barlow:wght@400;500&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --red:      #c0392b;
  --red-dark: #7f1e15;
  --red-glow: #e74c3c;
  --black:    #0d0d0d;
  --dark:     #1a1a1a;
  --cream:    #f5f0e8;
  --white:    #ffffff;
  --gray:     #888;
  --border:   #ddd;
}

body {
  height: 100vh;
  background: var(--cream);
  font-family: 'Barlow', sans-serif;
  overflow: hidden;
}

.container {
  display: flex;
  height: 100vh;
}

/* ── LADO ESQUERDO ───────────────────────────────────────── */
.login-left {
  width: 480px;
  flex-shrink: 0;
  background: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 60px 56px;
  position: relative;
  z-index: 1;
  box-shadow: 4px 0 32px rgba(0,0,0,0.12);
}

/* Faixa vermelha no topo */
.login-left::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--red);
}

.logo-container {
  display: flex;
  justify-content: center;
  margin-bottom: 32px;
}

.logo-container img {
  width: 150px;
  border-radius: 4px;
}

.login-left h2 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 22px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--dark);
  text-align: center;
  margin-bottom: 28px;
}

/* Mensagem de erro */
.erro-msg {
  background: #fdf0f0;
  border: 1px solid #f5c6c6;
  border-left: 4px solid var(--red);
  color: var(--red-dark);
  padding: 10px 14px;
  border-radius: 3px;
  font-size: 13.5px;
  font-weight: 500;
  margin-bottom: 16px;
}

/* Campos */
.campo {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}

.campo label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--gray);
}

.campo input {
  font-family: 'Barlow', sans-serif;
  font-size: 15px;
  padding: 12px 14px;
  border: 1.5px solid var(--border);
  border-radius: 3px;
  background: #fafaf8;
  color: var(--dark);
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
  height: auto;
  width: 100%;
}

.campo input:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(192,57,43,0.1);
  background: var(--white);
}

/* Opções */
.options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--gray);
  margin: 4px 0 20px;
}

.options label {
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}

.options a {
  color: var(--red);
  text-decoration: none;
  font-weight: 500;
}

.options a:hover { text-decoration: underline; }

/* Botão entrar */
.btn-entrar {
  width: 100%;
  padding: 14px;
  background: var(--red);
  color: var(--white);
  border: none;
  border-radius: 3px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 17px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  cursor: pointer;
  transition: background 0.15s, transform 0.1s, box-shadow 0.15s;
}

.btn-entrar:hover {
  background: var(--red-dark);
  box-shadow: 0 4px 16px rgba(192,57,43,0.4);
}

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

/* ── LADO DIREITO ────────────────────────────────────────── */
.login-right {
  flex: 1;
  background: var(--black);
  color: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 60px;
  position: relative;
  overflow: hidden;
}

/* Grade de fundo */
.login-right::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(192,57,43,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(192,57,43,0.06) 1px, transparent 1px);
  background-size: 40px 40px;
}

/* Círculo de luz */
.login-right::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(192,57,43,0.15) 0%, transparent 70%);
  pointer-events: none;
}

.right-content { position: relative; z-index: 1; }

.titulo-metal {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 72px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 4px;
  line-height: 1;
  background: linear-gradient(120deg, #5a0000 0%, #ff4444 35%, #ffffff 50%, #ff4444 65%, #7a0000 100%);
  background-size: 300%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: brilhoMetal 5s linear infinite;
  margin-bottom: 8px;
}

.titulo-sub {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 6px;
  text-transform: uppercase;
  color: #555;
  margin-bottom: 40px;
}

#texto-digitando {
  font-size: 17px;
  color: #aaa;
  max-width: 380px;
  line-height: 1.7;
  min-height: 60px;
}

#texto-digitando::after {
  content: '|';
  margin-left: 2px;
  color: var(--red-glow);
  animation: cursor 1s infinite;
}

@keyframes brilhoMetal {
  0%   { background-position: 0%; }
  100% { background-position: 300%; }
}

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

/* ── Responsivo ──────────────────────────────────────────── */
@media (max-width: 768px) {
  .login-right { display: none; }
  .login-left  { width: 100%; padding: 40px 28px; }
}
