/* Montserrat Regular (400) */
@font-face {
    font-family: 'Montserrat';
    src: url('../fonts/montserrat/Montserrat-Regular.woff2') format('woff2'),
         url('../fonts/montserrat/Montserrat-Regular.woff')  format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
  }
  
  /* Montserrat SemiBold (600) */
  @font-face {
    font-family: 'Montserrat';
    src: url('../fonts/montserrat/Montserrat-SemiBold.woff2') format('woff2'),
         url('../fonts/montserrat/Montserrat-SemiBold.woff')  format('woff');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
  }
  
  /* Montserrat Bold (700) */
  @font-face {
    font-family: 'Montserrat';
    src: url('../fonts/montserrat/Montserrat-Bold.woff2') format('woff2'),
         url('../fonts/montserrat/Montserrat-Bold.woff')  format('woff');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
  }
  
  /* Hinting anti‑alias igual ao Google */
  html {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }
  
  /* Fonte base */
  body {
    font-family: 'Montserrat', Arial, sans-serif;
    background: url("../simulador/elevator.jpg") no-repeat center center fixed;
    background-size: cover;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
  }
  
  /* Ajuste para o main que já tem margin-top inline */
  main.container {
    flex: 1; /* Para preencher o espaço disponível */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  
  /* Título do aplicativo responsivo sem borda vertical */
  .app-title-text {
    font-family: 'Montserrat', 'Segoe UI', Arial, sans-serif;
    font-weight: 700;
    letter-spacing: 1.2px;
    color: #f0f9ff;
    text-transform: uppercase;
    margin-left: 12px;
    font-size: 1.08rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    display: inline-block;
    position: relative;
    z-index: 1;
  }
  
  /* Efeito sutil de destaque */
  .app-title-text::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 40%;
    height: 2px;
    background: linear-gradient(90deg, rgba(96, 165, 250, 0.8), transparent);
    z-index: -1;
  }
  
  /* Media queries para responsividade do título */
  @media (max-width: 768px) {
    .app-title-text {
      font-size: 0.9rem;
      margin-left: 8px;
      letter-spacing: 0.8px;
    }
  }
  
  @media (max-width: 576px) {
    .app-title-text {
      font-size: 0.75rem;
      margin-left: 5px;
    }
    .app-title-text::after {
      width: 30%;
    }
  }
  
  /* Para dispositivos muito pequenos */
  @media (max-width: 400px) {
    .navbar-brand img {
      height: 30px; /* Logo menor */
    }
    .app-title-text {
      max-width: 140px;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }
  }
  
  /* Estilos específicos para content-box */
  .content-box {
    background-color: rgba(0, 0, 0, 0.7);
    padding: 2rem;
    border-radius: 1rem;
    color: #ffffff;
    text-align: center;
    max-width: 500px;
    width: 100%;
    margin: 0 auto;
  }
  
  /* Estilos para a versão moderna da caixa */
  .modern-content-box {
    background-color: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 3rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    color: #ffffff;
    text-align: center;
    max-width: 550px;
    width: 100%;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
    margin: 0 auto;
  }
  
  /* Adicionar detalhe de linha superior à caixa moderna */
  .modern-content-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(90deg, #3b82f6, #2563eb);
    z-index: 1;
  }
  
  /* Elementos da página inicial moderna */
  .logo-container {
    margin-bottom: 2rem;
    position: relative;
  }
  
  .logo-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #3b82f6, #1e40af);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 1;
  }
  
  .logo-icon::after {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.5), rgba(30, 64, 175, 0.5));
    border-radius: 50%;
    z-index: -1;
    opacity: 0.6;
    animation: pulse-subtle 3s infinite;
  }
  
  .logo-icon i {
    font-size: 2.5rem;
    color: white;
  }
  
  .company-name {
    font-size: 1.25rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: #d1d5db;
    letter-spacing: 1px;
    text-transform: uppercase;
  }
  
  .app-title {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    background: linear-gradient(90deg, #f0f9ff, #dbeafe);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: none;
    line-height: 1.2;
  }
  
  /* Caixa de login moderna */
  .modern-login-box {
    background-color: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    color: #ffffff;
    max-width: 450px;
    width: 100%;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
    margin: 0 auto;
  }
  
  .modern-login-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(90deg, #3b82f6, #2563eb);
    z-index: 1;
  }
  
  .login-header {
    text-align: center;
    margin-bottom: 2rem;
  }
  
  .login-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #3b82f6, #1e40af);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  }
  
  .login-icon i {
    font-size: 2rem;
    color: white;
  }
  
  .login-header h2 {
    font-size: 1.75rem;
    font-weight: 600;
    color: #f0f9ff;
    margin-bottom: 0.5rem;
  }
  
  /* Formulário moderno */
  .modern-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
  }
  
  .form-fields {
    margin-bottom: 1.5rem;
  }
  
  .modern-form-group {
    margin-bottom: 1.25rem;
  }
  
  .modern-label {
    display: block;
    margin-bottom: 0.5rem;
    color: #d1d5db;
    font-size: 0.95rem;
    font-weight: 500;
  }
  
  .modern-form input {
    width: 100%;
    padding: 0.75rem 1rem;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: white;
    transition: all 0.3s ease;
    font-size: 1rem;
  }
  
  .modern-form input:focus {
    background-color: rgba(255, 255, 255, 0.15);
    border-color: rgba(59, 130, 246, 0.5);
    outline: none;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.25);
  }
  
  .modern-form input::placeholder {
    color: rgba(255, 255, 255, 0.4);
  }
  
  .form-actions {
    text-align: center;
    margin-top: 0.5rem;
  }
  
  .login-button {
    width: 100%;
  }
  
  /* Botão moderno */
  .modern-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: white;
    font-weight: 500;
    padding: 0.85rem 2.5rem;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
    text-decoration: none;
    position: relative;
    overflow: hidden;
  }
  
  .modern-button::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: all 0.6s ease;
  }
  
  .modern-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.4);
    color: white;
    text-decoration: none;
  }
  
  .modern-button:hover::before {
    left: 100%;
  }
  
  .modern-button:active {
    transform: translateY(1px);
    box-shadow: 0 3px 10px rgba(37, 99, 235, 0.3);
  }
  
  /* Animações sutis */
  @keyframes pulse-subtle {
    0% {
      opacity: 0.6;
      transform: scale(1);
    }
    50% {
      opacity: 0.4;
      transform: scale(1.05);
    }
    100% {
      opacity: 0.6;
      transform: scale(1);
    }
  }
  
  /* Tipografia */
  .content-box h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
  }
  
  .content-box h2 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: #ffc107;
  }
  
  /* Estilos básicos de formulário */
  .content-box form p {
    margin-bottom: 1rem;
    text-align: left;
  }
  
  .content-box form label {
    display: block;
    margin-bottom: 0.3rem;
    color: #e0e0e0;
    font-size: 0.9rem;
  }
  
  .content-box form input {
    width: 100%;
    padding: 0.5rem;
    border-radius: 4px;
    border: none;
    background-color: rgba(255, 255, 255, 0.85);
  }
  
  /* Ajustes para o rodapé usando as classes que você já tem no HTML */
  .footer.mt-auto {
    margin-top: auto; /* Para ficar no fim da página */
  }
  
  /* Estilo para a página de login */
  .login-page {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 70vh;
  }
  
  /* Formulário moderno */
  .modern-form .form-control {
    border-radius: 5px;
    padding: 10px 15px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
  }
  