/* RESET E SEGURANÇA */
html, body {
  width: 100%;
  overflow-x: hidden;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
  max-width: 100%;
}

/* BODY */
body {
  background: #0f0f0f;
  color: #fff;
  min-height: 100vh;
}

/* HEADER */
.header {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(0,0,0,0.85);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px clamp(20px, 5vw, 60px);
  z-index: 10;
}

.logo {
  font-weight: 700;
}

.logo span {
  color: #cfa75d;
}

.header nav a {
  margin-left: 20px;
  color: #fff;
  text-decoration: none;
  font-weight: 300;
  white-space: nowrap;
}

/* HERO */
.hero {
  background: url("img/banner.jpg") center/cover no-repeat;
  display: flex;
  align-items: center;
  padding: 80px clamp(20px, 5vw, 60px) 0;
  min-height: 100vh;
  height: auto;
}

.hero-content {
  max-width: 500px;
}

.hero h1 {
  font-size: 48px;
}

.hero p {
  margin: 20px 0;
  font-size: 18px;
}

.btn {
  background: #cfa75d;
  padding: 12px 30px;
  color: #000;
  text-decoration: none;
  font-weight: 600;
  display: inline-block;
}

/* SECTIONS */
.section {
  padding: 80px clamp(20px, 5vw, 60px);
  text-align: center;
}

.section h2 {
  margin-bottom: 30px;
  font-size: 32px;
}

.dark {
  background: #151515;
}

/* CARDS */
.cards {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.card {
  background: #1f1f1f;
  padding: 30px;
  width: 200px;
  border-radius: 8px;
}

.card span {
  display: block;
  margin-top: 10px;
  color: #cfa75d;
}

/* GALERIA */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  max-width: 100%;
}

.gallery div {
  height: 200px;
  background: #333;
}

/* FORM */
form {
  max-width: 400px;
  margin: auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

input, button {
  padding: 12px;
  border: none;
  font-size: 16px;
}

button {
  background: #cfa75d;
  font-weight: 600;
  cursor: pointer;
  touch-action: manipulation;
}

/* FOOTER */
.footer {
  background: #000;
  padding: 20px;
  text-align: center;
  font-size: 14px;
  margin-bottom: 0;
}

/* ===================== */
/* RESPONSIVIDADE */
/* ===================== */

/* TABLET */
@media (max-width: 768px) {

  .header {
    flex-direction: column;
    gap: 10px;
  }

  .header nav {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero {
    text-align: center;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero h1 {
    font-size: 32px;
  }

  .hero p {
    font-size: 16px;
  }

  .cards {
    flex-direction: column;
    align-items: center;
  }

  .card {
    width: 100%;
    max-width: 320px;
  }

  .section h2 {
    font-size: 26px;
  }
}

/* MOBILE */
@media (max-width: 480px) {

  .hero h1 {
    font-size: 26px;
  }

  .hero p {
    font-size: 15px;
  }

  .gallery {
    grid-template-columns: 1fr;
  }

  .gallery div {
    height: 220px;
  }

  form {
    width: 100%;
  }
}
