/* ========== RESET ========== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body, html {
  font-family: Arial, sans-serif;
  height: 100%;
  background: #000;
  color: #fff;
  overflow-x: hidden;
}

/* ========== HEADER ========== */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.8);
  padding: 10px 20px;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.logo img {
  height: 30px;
}

/* ========== MENU DESKTOP E MOBILE ========== */
nav {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  transition: max-height 0.3s ease;
}

nav a {
  color: white;
  text-decoration: none;
  font-size: 0.9em;
}

.menu-toggle {
  display: none;
  font-size: 1.5em;
  color: white;
  background: none;
  border: none;
  cursor: pointer;
}

/* ========== AÇÕES ========== */
.actions {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 5px;
}

.btn-action {
  background: #FFC107;
  color: #000;
  padding: 8px 15px;
  border-radius: 20px;
  font-size: 0.8em;
  font-weight: bold;
  text-decoration: none;
}

.btn-action:hover {
  background: #ffdb4d;
}

.client-btn {
  background: transparent;
  border: 1px solid #fff;
  color: #fff;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.8em;
  text-decoration: none;
}

.client-btn:hover {
  background: rgba(255,255,255,0.2);
}

/* ========== HERO / CONTEÚDO ========== */
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 20px 20px; /* espaço para o header */
  position: relative;
  text-align: center;
  z-index: 2;
}

.overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: linear-gradient(to bottom, rgba(0,0,0,0.6), rgba(0,0,0,0.9));
  z-index: 1;
}

.content {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 1000px;
}

.content-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.content-inner img {
  max-width: 200px;
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
}

.content-inner div {
  flex: 1 1 250px;
  min-width: 250px;
}

.content-inner h1 {
  font-size: 2.5em;
  margin-bottom: 20px;
  background: linear-gradient(90deg, #FFC107, #ff00ff);
  -webkit-background-clip: text;
  color: transparent;
}

.content-inner p {
  font-size: 1em;
  color: #ccc;
  margin-bottom: 30px;
  line-height: 1.5;
}

.btn-compre {
  background: #FFC107;
  color: black;
  padding: 12px 30px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
}

.btn-compre:hover {
  background: #ffdb4d;
}

/* ========== WHATSAPP ========== */
.whatsapp-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #25d366;
  color: white;
  border-radius: 30px;
  padding: 10px 18px;
  text-decoration: none;
  font-weight: bold;
  font-size: 0.9em;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.whatsapp-btn:hover {
  background: #1ebd50;
}

/* ========== FLOATING IMAGE ========== */

.floating-img {
  animation: float 3s ease-in-out infinite;
  position: absolute;
  top: calc(50% - 2cm); /* sobe 2 centímetros do centro */
  right: 20px;
  transform: translateY(-50%);
  max-width: 200px;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
  z-index: 5;
}


@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* ========== PARTICLE BACKGROUND ========== */
canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

/* ========== RESPONSIVO MOBILE-FIRST ========== */

@media (max-width: 768px) {
  .floating-img {
    position: static;
    margin: 20px auto 0;
    display: block;
    transform: none;
    max-width: 150px;
  }


  nav.show {
    max-height: 300px;
  }

  .menu-toggle {
    display: block;
  }

  .content-inner {
    flex-direction: column-reverse;
    text-align: center;
  }

  .content-inner h1 {
    font-size: 2em;
  }

  .content-inner p {
    font-size: 0.9em;
  }

  .content-inner img {
    max-width: 150px;
    margin-top: 20px;
  }

  .btn-compre {
    padding: 10px 20px;
    font-size: 0.9em;
  }

  .whatsapp-btn {
    font-size: 0.8em;
    padding: 8px 14px;
  }
}
