:root {
    --lumiar-blue: #0a3871;
    --lumiar-green: #87CEFA;
    --lumiar-yellow: #ffc107;
    --lumiar-dark: #1a1a1a;
    --lumiar-light: #f5f5f5;
    --lumiar-footer-bg: #87CEFA;
  }
  
  /* Reset + Base */
  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
  }
  
  html, body {
    height: 100%;
  }
  
  body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    padding-top: 100px;
    background: var(--lumiar-light);
  }
  
  /* 🟦 Cabeçalho fixo */
  header {
    background: var(--lumiar-green);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  }
  
  .header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 40px;
    position: relative;
  }
  
  .logo img {
    height: 50px;
    cursor: pointer;
  }
  
  .menu-toggle {
    display: none;
    font-size: 28px;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    position: absolute;
    right: 20px;
    top: 15px;
    z-index: 1100;
  }
  
  nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
  }
  
  nav ul li a {
    color: white;
    font-weight: bold;
    text-decoration: none;
    padding: 10px;
    transition: 0.3s;
  }
  
  nav ul li a:hover {
    color: var(--lumiar-yellow);
  }
  
  /* 🌐 Botão */
  .btn-lumiar {
    background-color: var(--lumiar-green);
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 12px;
    font-weight: bold;
    font-size: 16px;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    cursor: pointer;
  }
  
  .btn-lumiar::after {
    content: "→";
    font-size: 18px;
    transition: transform 0.2s;
  }
  
  .btn-lumiar:hover {
    background-color: #70bfe5;
  }
  
  .btn-lumiar:hover::after {
    transform: translateX(5px);
  }
  
  /* ✅ Estrutura principal (sem espaçamento excessivo) */
  .main-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  
  main.container {
    flex: 1;
    max-width: 600px;
    width: 90%;
    margin: 0 auto;
    background: white;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
    text-align: center;
  }
  
  .titulo-principal {
    color: var(--lumiar-blue);
    margin-bottom: 25px;
    font-size: 26px;
  }
  
  .form-box {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 100%;
  }
  
  input[type="text"] {
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 16px;
    width: 100%;
  }
  
  .resultado {
    background: #f4f4f4;
    margin-top: 20px;
    padding: 20px;
    border-radius: 10px;
    text-align: left;
  }
  
  .success { color: green; font-weight: bold; }
  .error { color: red; font-weight: bold; }
  .info { color: orange; font-weight: bold; }
  
  .qr-reader {
    margin-top: 20px;
    width: 100%;
  }
  
  /* 🦶 Rodapé que fica sempre no fim */
  footer {
    background: var(--lumiar-footer-bg);
    color: white;
    padding: 20px 0;
    width: 100%;
  }
  
  .footer-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    padding: 0 40px;
    gap: 20px;
    box-sizing: border-box;
  }
  
  .footer-contact,
  .footer-info,
  .social-icons {
    flex: 1;
    text-align: center;
  }
  
  .social-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
  }
  
  .social-icons a {
    font-size: 24px;
    color: white;
    text-decoration: none;
    transition: 0.3s;
  }
  
  .social-icons a:hover {
    color: var(--lumiar-yellow);
    transform: scale(1.2);
  }
  
  /* 📱 Responsivo */
  @media (max-width: 768px) {
    .header-content {
      flex-direction: column;
      align-items: flex-start;
    }
  
    nav ul {
      flex-direction: column;
      background: var(--lumiar-green);
      width: 100%;
      max-height: 0;
      overflow: hidden;
      opacity: 0;
      visibility: hidden;
      transition: all 0.4s ease;
    }
  
    nav ul.show {
      max-height: 500px;
      opacity: 1;
      visibility: visible;
    }
  
    nav ul li {
      width: 100%;
      text-align: center;
    }
  
    nav ul li a {
      display: block;
      padding: 12px;
      border-top: 1px solid rgba(255, 255, 255, 0.2);
    }
  
    .menu-toggle {
      display: block;
    }
  
    .footer-container {
      flex-direction: column;
      align-items: center;
      text-align: center;
    }
  
    main.container {
      margin: 0 20px;
      padding: 30px 20px;
    }
  }
  