.hero {
  height: 100vh;
  background-image: url('../IMGS/img1.png');
  background-attachment: fixed;
  background-position: center;
  background-size: cover;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

/* Overlay escuro sobre toda a imagem */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.25);
}

/* Conteúdo central */
.hero-overlay {
  position: relative;
  text-align: center;
  color: #fff;
  padding: 40px 60px;
  border-radius: 12px;
}

/* Título com sombra */
.hero-overlay h1 {
  font-family: 'Poppins', 'Segoe UI', sans-serif;
  font-size: 4rem;
  font-weight: 600;
  margin-bottom: 40px;
  text-shadow: 0 2px 6px rgba(0,0,0,0.4);
}

/* Botões minimalistas */
.hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  text-decoration: none;
  padding: 12px 28px;
  border: 2px solid #fff;
  border-radius: 6px;
  color: #fff;
  font-weight: 500;
  transition: all 0.3s ease;
  background: rgba(0,0,0,0.5);
}

.btn:hover {
  background: #fff;
  color: #000;
}

/* =========================
   MEDIA QUERIES RESPONSIVAS
   ========================= */

/* Tablets */
@media (max-width: 768px) {
  .hero-overlay {
    padding: 30px 40px;
  }

  .hero-overlay h1 {
    font-size: 2.5rem;
    margin-bottom: 30px;
  }

  .btn {
    padding: 10px 22px;
    font-size: 0.95rem;
  }
}

/* Celulares gerais */
@media (max-width: 480px) {
  .hero-overlay {
    padding: 20px;
  }

  .hero-overlay h1 {
    font-size: 1.8rem;
    margin-bottom: 20px;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 12px;
  }

  .btn {
    width: 100%;
    max-width: 280px;
    margin: 0 auto;
    font-size: 0.9rem;
    padding: 10px 18px;
  }
}

/* Ajuste específico para 393px de largura */
@media (max-width: 393px) {
  .hero-overlay {
    padding: 15px;
  }

  .hero-overlay h1 {
    font-size: 1.6rem;   /* título menor para caber bem */
    margin-bottom: 18px;
  }

  .btn {
    font-size: 0.85rem;
    padding: 8px 16px;
    max-width: 240px;    /* botões mais compactos */
  }
}

/* Remove a barra de rolagem no Chrome, Edge, Safari e Opera */
::-webkit-scrollbar {
  width: 0;
  height: 0;
}
