/* =========================================
   VARIÁVEIS & RESET
   ========================================= */
:root {
  --bg-main: #101d13;
  --bg-card: rgba(255, 255, 255, 0.03);
  --primary: #00f964;
  --primary-dark: #13c44b;
  --secondary: #e4ff01;
  --text-main: #f8fafc;
  --text-muted: #a0a0a0;
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-bg: rgba(16, 29, 19, 0.75);
  --font-main: "Inter", system-ui, -apple-system, sans-serif;
  --max-width: 1200px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}
body {
  background-color: var(--bg-main);
  color: var(--text-main);
  font-family: var(--font-main);
  line-height: 1.6;
  overflow-x: hidden;
  background-image: radial-gradient(
    circle at 50% 0%,
    #15291b 0%,
    var(--bg-main) 70%
  );
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}
img {
  max-width: 100%;
  display: block;
  border-radius: 1px;  
}
a {
  text-decoration: none;
  color: inherit;
  transition: 0.3s;
}
ul {
  list-style: none;
}

/* UTILS */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}
.text-gradient {
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 800;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.8rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  gap: 0.5rem;
  transition: all 0.3s ease;
}
.btn-primary {
  background: var(--primary-dark);
  color: #fff;
  border: 1px solid transparent;
  box-shadow: 0 0 15px rgba(19, 196, 75, 0.4);
}
.btn-primary:hover {
  background: var(--primary);
  color: #000;
  box-shadow: 0 0 25px rgba(0, 249, 100, 0.6);
  transform: translateY(-2px);
}
.btn-outline {
  border: 1px solid var(--primary);
  background: transparent;
  color: var(--primary);
  box-shadow: 0 0 10px rgba(0, 249, 100, 0.1);
}
.btn-outline:hover {
  background: var(--primary);
  color: #050a07;
  box-shadow: 0 0 20px rgba(0, 249, 100, 0.4);
}
.btn-full {
  width: 100%;
}
.section {
  padding: 5rem 0;
}
.section-dark {
  background: rgba(0, 0, 0, 0.2);
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
}
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3rem;
}
.section-header h2 {
  font-size: 2.2rem;
  margin-bottom: 0.5rem;
  color: var(--text-main);
}
.section-header p {
  color: var(--text-muted);
}

/* GRIDS */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}
.grid-4 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}
.align-center {
  align-items: center;
}

/* HEADER */
.header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(16, 29, 19, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--glass-border);
}
.header-content {
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.5px;
  color: var(--text-main);
}
.nav {
  display: flex;
  gap: 2rem;
  align-items: center;
}
.nav-link {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 500;
  position: relative;
}
.nav-link:hover {
  color: var(--primary);
}
.nav-link::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 0;
  background-color: var(--primary);
  transition: width 0.3s;
}
.nav-link:hover::after {
  width: 100%;
}
.btn-nav {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--glass-border);
  color: var(--text-main);
  padding: 0.5rem 1.2rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  transition: 0.3s;
}
.btn-nav:hover {
  border-color: var(--primary);
  color: var(--primary);
  box-shadow: 0 0 10px rgba(0, 249, 100, 0.2);
}
.menu-toggle {
  display: none;
  background: none;
  border: 1px solid var(--glass-border);
  border-radius: 6px;
  padding: 0.2rem;
  color: var(--text-main);
  cursor: pointer;
}

/* HERO */
.hero {
  position: relative;
  padding-top: 140px;
  padding-bottom: 5rem;
  overflow: hidden;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 0 0, #00f964, transparent 40%),
    radial-gradient(circle at 100% 100%, #e4ff01, transparent 40%);
  pointer-events: none;
  z-index: 0;
  opacity: 0.6;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 1;
  text-align: center;
}
.hero-text {
  max-width: 800px;
  margin: 0 auto;
}
.hero-text h1 {
  font-size: clamp(2.5rem, 5vw, 3.8rem);
  line-height: 1.1;
  margin-bottom: 1.2rem;
  font-weight: 700;
}
.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 15px;
  padding-top: 30px;
  margin-top: 13px
}

/* DNA BOX & PRODUCTS (DESKTOP) */
.hero-dna-box {
  background: linear-gradient(90deg, #00f964 0%, #e4ff01 100%);
  border-radius: 32px;
  padding: 3rem 2rem;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  box-shadow: 0 20px 50px rgba(0, 249, 100, 0.2);
}

.product-showcase {
  display: flex;
  gap: 60px;
  justify-content: center;
  align-items: flex-end;
  flex-wrap: wrap;
  animation: float-products 4s ease-in-out infinite;
}

.product-item {
  display: flex;
  /* DESKTOP: COLUMN (IMAGEM EM CIMA, TEXTO EM BAIXO) */
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
  border: 4px;
  border-color: green;
}

.product-item img {
  width: 320px;
  height: 320px;
  object-fit: contain;
  margin-bottom: 0.5rem;
  transition: transform 0.3s ease;
  filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.6));
}
.product-item img:hover {
  transform: scale(1.05);
}

.product-label {
    display: inline-block;
    width: auto;
    max-width: 100%;
    background: #00f964;
    color: #101d13;
    font-size: 0.95rem;
    font-weight: 800;
    text-align: center;
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    margin: 0 auto;
  }

/* OUTRAS SEÇÕES */
.card {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  padding: 2rem;
  border-radius: 16px;
  transition: 0.3s;
  position: relative;
  overflow: hidden;
}
.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  opacity: 0.5;
}
.card:hover {
  transform: translateY(-5px);
  border-color: var(--primary);
  box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.5),
    0 0 15px rgba(0, 249, 100, 0.1);
}
.highlight-border {
  border-color: rgba(0, 249, 100, 0.3);
  box-shadow: 0 0 20px rgba(0, 249, 100, 0.05);
}
.card-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}
.card h3 {
  margin-bottom: 0.8rem;
  font-size: 1.3rem;
  color: var(--text-main);
}
.card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}
.check-list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  color: #e2e8f0;
}
.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: bold;
}
.tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.5rem;
}
.tech-tags span {
  background: rgba(228, 255, 1, 0.1);
  border: 1px solid rgba(228, 255, 1, 0.3);
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-size: 0.85rem;
  color: var(--secondary);
}
.glass-panel {
  background: var(--glass-bg);
  padding: 2.5rem;
  border-radius: 16px;
  border: 1px solid var(--glass-border);
  box-shadow: inset 0 0 50px rgba(0, 0, 0, 0.3);
}
.feature-list li {
  margin-bottom: 1rem;
  font-size: 0.95rem;
  color: var(--text-muted);
}
.feature-list strong {
  color: var(--primary);
  display: block;
  margin-bottom: 0.2rem;
}
.segment-item {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.03) 0%,
    transparent 100%
  );
  border: 1px solid var(--glass-border);
  padding: 1.5rem;
  border-radius: 12px;
  text-align: center;
  transition: 0.3s;
}
.segment-item:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--secondary);
}
.segment-item h4 {
  color: var(--secondary);
  margin-bottom: 0.5rem;
}
.segment-item p {
  font-size: 0.9rem;
  color: var(--text-muted);
}
.glass-form {
  background: linear-gradient(145deg, #152019, #0a110d);
  padding: 2.5rem;
  border-radius: 16px;
  border: 1px solid var(--glass-border);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}
.form-header h3 {
  margin-bottom: 1.5rem;
  font-size: 1.4rem;
  color: var(--text-main);
}
.input-group {
  margin-bottom: 1.2rem;
}
.input-group label {
  display: block;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
}
.input-group input,
.input-group textarea {
  width: 100%;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--glass-border);
  border-radius: 8px;
  padding: 0.8rem;
  color: white;
  font-family: inherit;
  font-size: 0.95rem;
  transition: 0.3s;
}
.input-group input:focus,
.input-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  background: rgba(0, 0, 0, 0.5);
  box-shadow: 0 0 10px rgba(0, 249, 100, 0.1);
}
.whatsapp-box {
  margin-top: 2rem;
  padding: 1.5rem;
  background: rgba(37, 211, 102, 0.1);
  border: 1px solid rgba(37, 211, 102, 0.2);
  border-radius: 12px;
}
.btn-whatsapp {
  margin-top: 0.8rem;
  background: #25d366;
  color: white;
  width: fit-content;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  border-radius: 50px;
}
.btn-whatsapp:hover {
  background: #1da851;
}
.footer {
  border-top: 1px solid var(--glass-border);
  padding: 2rem 0;
  margin-top: auto;
  margin-top: 4rem;
  background: #020403;
  font-size: 0.9rem;
  color: var(--text-muted);
}
.footer-flex {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 1rem;
}
.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.5rem;
}
.social-links {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 0.5rem;
    text-align: center;
}

/* MEDIA QUERY - TABLET */
@media (max-width: 960px) {
  .hero-grid,
  .grid-2 {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero {
    padding-top: 100px;
  }
  
  .hero-visual {
    order: 2;
    display: flex;
    justify-content: center;
  }
  .hero-actions,
  .hero-stats {
    justify-content: center;
  }
  .align-center {
    text-align: left;
  }
}

/* =========================================
   RESPONSIVO – MOBILE (O SEGREDO ESTÁ AQUI)
   ========================================= */
@media (max-width: 768px) {
  /* Menu */
  .menu-toggle {
    display: block;
  }
  .nav {
    position: fixed;
    top: 70px;
    right: 0;
    width: 250px;
    height: auto;
    background: #101d13;
    flex-direction: column;
    padding: 2rem;
    border-left: 1px solid var(--glass-border);
    transform: translateY(-150%);
    transition: transform 0.4s ease;
  }
  .nav.open {
    transform: translateY(0);
    box-shadow: -10px 10px 30px rgba(0, 0, 0, 0.5);
  }

  /* Hero Adjusts */
  .hero {
    padding-top: 100px;
    padding-bottom: 3rem;
  }
  .hero-text h1 {
    font-size: 1.8rem;
    line-height: 1.2;
  }
  .hero-actions {
    flex-direction: column;
    width: 100%;
    padding: 0 1rem;
    gap: 1rem;
  }
  .btn {
    width: 100%;
  }
  .footer-flex {
    flex-direction: column;
    gap: 1.5rem;
  }

  /* CAIXA DE GRADIENTE MOBILE */
  .hero-dna-box {
    margin-top: 2rem;
    padding: 2.5rem 1.5rem;
    width: 100%;
    background: linear-gradient(180deg, #00f964 0%, #e4ff01 100%);
    border-radius: 24px;
  }

  .product-showcase {
    flex-direction: column;
    gap: 3rem;
    align-items: center;
  }

  /* ITEM MOBILE - INVERTER A ORDEM */
  /* HTML tem: Imagem, depois Título. */
  /* Column-Reverse faz: Título (Topo), Imagem (Baixo). */
  .product-item {
    width: 100%;
    flex-direction: column-reverse;
    align-items: center;
  }

  .product-item img {
    width: 100%;
    max-width: 240px;
    height: auto;
    object-fit: contain;
    margin-top: 1rem; /* Espaço entre título (que está em cima) e foto */
    margin-bottom: 0;
    transform: none;
  }

  .product-label {
    display: inline-block;
    width: auto;
    max-width: 100%;
    background: #00f964;
    color: #101d13;
    font-size: 0.95rem;
    font-weight: 800;
    text-align: center;
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    margin: 0 auto;
  }
}

@keyframes float-products {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
  100% {
    transform: translateY(0);
  }
}