
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: 'Inter', sans-serif;
  background-color: #2C2C2E;
  color: white;
}
a {
  text-decoration: none;
  color: inherit;
}
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 20px;
}
.navbar {
  backdrop-filter: blur(10px);
  background-color: rgba(28, 28, 30, 0.7);
  border-bottom: 1px solid #1f1f1f;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999;
  transition: background 0.3s ease;
  background-color: #1f1f1f;
  padding: 15px 0;
}
.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  padding: 0 20px;
}
.logo {
  width: 100%;
  max-width: 180px;
  height: auto;
}
nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
}
nav ul li a {
  padding: 8px 16px;
  border-radius: 6px;
  transition: background-color 0.3s;
  font-weight: bold;
  color: white;
}
.login-icon {
  padding: 8px 12px;
  border-radius: 30px;
  font-weight: bold;
  transition: 0.3s;
  font-size: 1.8em;
  color: #ff6f00;
}
.hero {
  position: relative;
  background: url('bg-hero.jpg') no-repeat center center/cover;
  height: 90vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}
.overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
}
.hero-content {
  position: relative;
  z-index: 2;
}
.hero-content h1 {
  font-size: 2.8em;
  color: #ff6f00;
  margin-bottom: 20px;
}
.hero-content p {
  font-size: 1.2em;
  color: #ddd;
}
.btn {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 30px;
  background-color: #ff6f00;
  color: #1c1c1e;
  font-weight: bold;
  border-radius: 25px;
}
.section {
  padding: 60px 20px;
}
.section h2 {
  color: #CCFF00;
  margin-bottom: 20px;
  text-align: center;
}
.section p, .section form {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}
.section.dark {
  background-color: #1F1F1F;
}
.cards {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-top: 30px;
  flex-wrap: wrap;
}
.card {
  background: #2c2c2e;
  border-radius: 12px;
  padding: 25px;
  width: 260px;
  text-align: center;
}
.card .icon {
  font-size: 2em;
  color: #CCFF00;
  margin-bottom: 15px;
}
form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
input, textarea {
  padding: 12px;
  border-radius: 8px;
  border: none;
}
button {
  background-color: #CCFF00;
  color: #1c1c1e;
  font-weight: bold;
  padding: 12px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
}
footer {
  background-color: #16252c;
  padding: 20px;
  text-align: center;
  color: #ccc;
}
.login-body {
  background-color: #1c1c1e;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
}
.login-container {
  background-color: #2c2c2e;
  padding: 40px;
  border-radius: 12px;
  text-align: center;
}
.login-container h2 {
  color: #ff6f00;
  margin-bottom: 20px;
}
.login-container input {
  padding: 12px;
}
.hero-alt {
  background: url('bg-hero.jpg') no-repeat center center/cover;
  padding: 100px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-box {
  background-color: rgba(0,0,0,0.8);
  border-radius: 24px;
  padding: 60px;
  display: flex;
  gap: 60px;
  flex-wrap: wrap;
  max-width: 1100px;
  width: 100%;
  justify-content: space-between;
  align-items: center;
}
.hero-text h1 {
  font-size: 3em;
  color: #ccff00;
  font-weight: 300;
  line-height: 1.2;
}
.hero-text p {
  margin-top: 20px;
  font-size: 1em;
  padding: 12px 24px;
  border: 2px solid #ccff00;
  border-radius: 30px;
  color: #eee;
  display: inline-block;
}
.hero-icons {
  display: flex;
  gap: 20px;
}
.icon-box {
  background-color: #ccff00;
  color: #000;
  padding: 30px;
  border-radius: 20px;
  font-size: 2em;
  text-align: center;
}
.hero-final {
  background-color: #1f1f1f;
  padding: 100px 40px;
  color: #ccff00;
  margin-top: 100px;
}
.hero-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
  gap: 40px;
}
.hero-text h1 {
  font-size: 3em;
  font-weight: 400;
  margin-bottom: 20px;
}
.hero-text h1 span {
  font-weight: 600;
}
.hero-msg {
  display: inline-block;
  padding: 12px 24px;
  border: 2px solid #ccff00;
  border-radius: 30px;
  color: white;
  font-size: 1em;
  font-weight: 500;
}
.icon-square {
  background-color: #ccff00;
  color: black;
  padding: 28px;
  border-radius: 20px;
  font-size: 1.8em;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 80px;
  min-height: 80px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

/* ===== Correções definitivas topo mobile ===== */
/* ===== Side‑Drawer Premium – Mobile ===== */
@media (max-width: 768px) {
  /* 1) Header bem definido */
  .navbar {
    height: 60px;
  }
  .nav-container {
    position: relative;
    z-index: 1002;            /* acima do drawer */
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
  }
  .logo {
    order: 1;
    max-width: 130px;
  }
  .menu-toggle {
    order: 2;
    font-size: 1.8em;
    background: none;
    border: none;
    color: #CCFF00;
    cursor: pointer;
    margin: 0 10px;
  }
  .login-icon {
    order: 3;
    font-size: 1.6em;
    z-index: 1003;
  }

  /* 2) Drawer fora da tela, 80% da largura */
  nav {
    position: fixed;
    top: 0;
    right: -100%;             /* totalmente fora */
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background-color: #1f1f1f;
    padding-top: 60px;        /* empurra abaixo do header */
    transition: right 0.25s ease-in-out;
    box-shadow: -4px 0 12px rgba(0,0,0,0.5);
    z-index: 1001;
  }
  /* 3) Ao abrir, right = 0 */
  body.menu-open {
    overflow-x: hidden;       /* evita scroll horizontal */
  }
  body.menu-open nav {
    right: 0;
  }

  /* 4) Lista dentro do drawer */
  nav ul {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 20px;
    margin: 0;
  }
  nav ul li a {
    padding: 10px 0;
    font-size: 1.1em;
    color: #fff;
  }
  
  /* 5) Empurra conteúdo principal para baixo */
  .hero-final {
    padding-top: 80px;
  }
}
