:root {
  --primary: #0a5f38;
  --primary-dark: #07482c;
  --secondary: #8bc34a;
  --accent: #ffb74d;
  --gold: #d4af37;
  --light: #f8f9fa;
  --dark: #1a2e35;
  --gray: #5a7684;
  --light-gray: #e9ecef;
  --glass: rgba(255, 255, 255, 0.08);
  --glass-light: rgba(255, 255, 255, 0.15);
  --glass-dark: rgba(10, 40, 25, 0.4);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Poppins', sans-serif;
  line-height: 1.7;
  color: var(--light);
  background: linear-gradient(135deg, var(--primary-dark), var(--dark));
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

body::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background:
    radial-gradient(circle at 10% 20%, rgba(139, 195, 74, 0.1) 0%, transparent 15%),
    radial-gradient(circle at 90% 80%, rgba(212, 175, 55, 0.1) 0%, transparent 15%),
    radial-gradient(circle at 30% 60%, rgba(255, 183, 77, 0.1) 0%, transparent 20%);
  z-index: -1;
  pointer-events: none;
}

h1, h2, h3, h4, h5 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  line-height: 1.2;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Particles background (rede animada) — mais visível */
#particles-js{
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;             /* atrás do conteúdo */
  pointer-events: none;   /* não bloqueia cliques */
  opacity: .95;           /* presença forte */
}
#particles-js canvas{
  mix-blend-mode: screen; /* brilho elegante sobre o fundo escuro */
}

/* (opcional) acessibilidade: desliga animações se o usuário pedir menos movimento */
@media (prefers-reduced-motion: reduce){
  #particles-js{ display: none; }
}

/* WhatsApp Floating Button */
.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 30px;
  right: 30px;
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: #fff;
  border-radius: 50%;
  text-align: center;
  font-size: 30px;
  box-shadow: 0 5px 20px rgba(37, 211, 102, 0.4);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  animation: pulse 2s infinite;
}
.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.6);
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 5px 20px rgba(37, 211, 102, 0.4); }
  50% { box-shadow: 0 5px 30px rgba(37, 211, 102, 0.7); }
}

/* Button Styles */
.btn {
  display: inline-block;
  padding: 14px 35px;
  background: linear-gradient(135deg, var(--accent), var(--gold));
  color: var(--primary-dark);
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.4s ease;
  border: none;
  cursor: pointer;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.9rem;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
  position: relative;
  overflow: hidden;
  z-index: 1;
}
.btn::after {
  content: '';
  position: absolute; top: 0; left: 0; width: 0; height: 100%;
  background: rgba(255, 255, 255, 0.2);
  transition: width 0.4s ease; z-index: -1;
}
.btn:hover::after { width: 100%; }
.btn:hover { transform: translateY(-5px); box-shadow: 0 10px 25px rgba(0,0,0,0.3); }
.btn-outline { background: transparent; border: 2px solid var(--gold); color: var(--gold); box-shadow: none; }
.btn-outline:hover { background: rgba(212, 175, 55, 0.1); }
.btn-contact { font-size: 1.1rem; padding: 18px 45px; }
.btn-contact i { margin-right: 10px; }

/* Header Styles */
header {
  position: fixed; width: 100%; top: 0; z-index: 1000; padding: 20px 0; transition: all 0.4s ease;
}
header.scrolled {
  background: var(--glass-dark); backdrop-filter: blur(10px);
  padding: 15px 0; box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}
.header-container { display: flex; justify-content: space-between; align-items: center; }
.logo { display: flex; align-items: center; z-index: 1001; }
.logo h1 { font-size: 1.5rem; color: var(--light); font-weight: 800; letter-spacing: 0.5px; }
.logo span { color: var(--gold); }

nav ul { display: flex; list-style: none; }
nav ul li { margin-left: 30px; }
nav ul li a {
  text-decoration: none; color: var(--light); font-weight: 500; transition: all 0.3s ease;
  position: relative; font-size: 1rem; padding: 5px 0;
}
nav ul li a:hover { color: var(--gold); }
nav ul li a::after {
  content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 2px;
  background: linear-gradient(to right, var(--accent), var(--gold)); transition: width 0.3s ease;
}
nav ul li a:hover::after { width: 100%; }

.mobile-menu-btn { display: none; background: none; border: none; font-size: 1.8rem; cursor: pointer; color: var(--gold); z-index: 1001; }

/* Hero Section */
.hero {
  min-height: 100vh; display: flex; align-items: center; position: relative; overflow: hidden;
  padding-top: 100px; padding-bottom: 50px;
}
.hero::before{
  content:'';
  position:absolute;
  inset:0;
  background: radial-gradient(ellipse at center, rgba(10,95,56,0.28) 0%, rgba(10,95,56,0) 70%); /* suavizado p/ valorizar as linhas */
  z-index:-1;
}
.hero .container {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
}
.hero-content { position: relative; z-index: 2; }
.hero h2 {
  font-size: 3rem; margin-bottom: 25px;
  background: linear-gradient(to right, var(--light), var(--secondary));
  -webkit-background-clip: text; background-clip: text; color: transparent; line-height: 1.2;
}
.hero p { font-size: 1.15rem; margin-bottom: 40px; color: rgba(255,255,255,0.9); line-height: 1.8; }
.hero-btns { display: flex; gap: 20px; margin-top: 30px; flex-wrap: wrap; }
.hero-img { position: relative; height: 500px; border-radius: 20px; overflow: hidden; box-shadow: 0 20px 50px rgba(0,0,0,0.3); }
.hero-img img { width: 100%; height: 100%; object-fit: cover; }
.hero-img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(45deg, rgba(10,95,56,0.3), rgba(26,46,53,0.3)); }

/* Glass Cards */
.glass-card {
  background: var(--glass); backdrop-filter: blur(10px);
  border-radius: 20px; border: 1px solid rgba(255,255,255,0.1);
  padding: 30px; transition: all 0.4s ease; position: relative; overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.glass-card::before {
  content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%); z-index: -1; transform: rotate(30deg);
}
.glass-card:hover { transform: translateY(-10px); box-shadow: 0 15px 40px rgba(0,0,0,0.2); background: var(--glass-light); }

/* Products Section */
.products { padding: 100px 0; }
.section-title { text-align: center; margin-bottom: 70px; }
.section-title h2 {
  font-size: 2.8rem; background: linear-gradient(to right, var(--gold), var(--accent));
  -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: 20px; position: relative; display: inline-block;
}
.section-title h2::after {
  content: ''; position: absolute; bottom: -15px; left: 50%; transform: translateX(-50%);
  width: 80px; height: 4px; background: linear-gradient(to right, var(--accent), var(--gold)); border-radius: 2px;
}
.section-title p { color: rgba(255,255,255,0.7); max-width: 700px; margin: 30px auto 0; font-size: 1.1rem; }

.products-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; }
.product-card { height: 100%; display: flex; flex-direction: column; }

.product-img { height: 220px; border-radius: 15px; overflow: hidden; position: relative; margin-bottom: 25px; }
.product-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.product-card:hover .product-img img { transform: scale(1.1); }
.product-img::after {
  content: ''; position: absolute; bottom: 0; left: 0; width: 100%; height: 40%;
  background: linear-gradient(to top, rgba(10, 40, 25, 0.8), transparent);
}
.product-img i { position: absolute; bottom: 20px; left: 20px; font-size: 2.5rem; color: var(--gold); z-index: 2; }

.product-content h3 { margin-bottom: 15px; color: var(--gold); font-size: 1.4rem; }
.product-content p { margin-bottom: 20px; color: rgba(255,255,255,0.8); flex-grow: 1; }

/* Solutions Section */
.solutions { padding: 100px 0; position: relative; }
.solutions-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 30px; }
.solution-card { display: flex; align-items: flex-start; gap: 20px; }
.solution-icon {
  background: linear-gradient(135deg, var(--accent), var(--gold)); color: var(--primary-dark);
  width: 70px; height: 70px; border-radius: 15px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 1.8rem;
}
.solution-content h3 { color: var(--gold); margin-bottom: 10px; font-size: 1.3rem; }
.solution-content p { color: rgba(255,255,255,0.8); line-height: 1.6; }

/* About Section */
.about { padding: 100px 0; position: relative; }
.about-content { max-width: 900px; margin: 0 auto; }
.about-text p { margin-bottom: 25px; color: rgba(255,255,255,0.85); font-size: 1.1rem; line-height: 1.8; }
.pillars-title { font-size: 2rem; color: var(--gold); margin: 50px 0 30px; text-align: center; }

.features { margin-top: 30px; }
.feature-item {
  display: flex; align-items: flex-start; margin-bottom: 25px; padding: 25px; border-radius: 15px; background: var(--glass); transition: all 0.3s ease;
}
.feature-item:hover { background: var(--glass-light); transform: translateX(10px); }
.feature-icon {
  background: linear-gradient(135deg, var(--accent), var(--gold)); color: var(--primary-dark);
  width: 60px; height: 60px; border-radius: 15px; display: flex; align-items: center; justify-content: center; margin-right: 20px; flex-shrink: 0; font-size: 1.5rem;
}
.feature-text h3 { color: var(--light); margin-bottom: 8px; font-size: 1.3rem; }
.feature-text p { color: rgba(255,255,255,0.8); }

/* Contact Section */
.contact { padding: 100px 0; }
.contact-content { text-align: center; margin-top: 50px; }

/* Footer */
footer {
  background: var(--glass-dark); backdrop-filter: blur(10px);
  padding: 60px 0 30px; border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.footer-content {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px; margin-bottom: 40px;
}
.footer-logo h3 { font-size: 1.5rem; color: var(--light); margin-bottom: 15px; }
.footer-logo span { color: var(--gold); }
.footer-logo p { color: rgba(255,255,255,0.7); }

.footer-links h4, .footer-contact h4 { color: var(--gold); margin-bottom: 20px; font-size: 1.2rem; }
.footer-links ul { list-style: none; }
.footer-links ul li { margin-bottom: 10px; }
.footer-links ul li a { color: rgba(255,255,255,0.7); text-decoration: none; transition: color 0.3s ease; }
.footer-links ul li a:hover { color: var(--gold); }

.footer-contact p { color: rgba(255,255,255,0.7); margin-bottom: 15px; }
.footer-contact i { margin-right: 8px; color: var(--gold); }
.footer-btn {
  display: inline-block; padding: 10px 25px;
  background: linear-gradient(135deg, #25d366, #128c7e); color: #fff; text-decoration: none;
  border-radius: 50px; font-weight: 600; transition: all 0.3s ease; margin-top: 10px;
}
.footer-btn:hover { transform: translateY(-3px); box-shadow: 0 5px 15px rgba(37, 211, 102, 0.4); }
.footer-btn i { margin-right: 8px; }

.footer-bottom { text-align: center; padding-top: 30px; border-top: 1px solid rgba(255, 255, 255, 0.1); }
.footer-bottom p { color: rgba(255,255,255,0.5); font-size: 0.9rem; }

/* Responsive Design */
@media (max-width: 968px) {
  .hero .container { grid-template-columns: 1fr; }
  .hero-img { height: 400px; }
  .hero h2 { font-size: 2.5rem; }

  nav ul {
    position: fixed; top: 0; right: -100%; width: 70%; height: 100vh;
    background: var(--glass-dark); backdrop-filter: blur(10px);
    flex-direction: column; justify-content: center; align-items: center;
    transition: right 0.4s ease; box-shadow: -5px 0 20px rgba(0,0,0,0.3);
  }
  nav ul.active { right: 0; }
  nav ul li { margin: 20px 0; }

  .mobile-menu-btn { display: block; }

  .solutions-grid { grid-template-columns: 1fr; }
  .footer-content { grid-template-columns: 1fr; text-align: center; }
}

@media (max-width: 768px) {
  .hero h2 { font-size: 2rem; }
  .hero p { font-size: 1rem; }
  .hero-btns { flex-direction: column; }
  .section-title h2 { font-size: 2.2rem; }
  .products-grid { grid-template-columns: 1fr; }
  .logo h1 { font-size: 1.2rem; }
  .whatsapp-float { width: 50px; height: 50px; font-size: 25px; bottom: 20px; right: 20px; }
}

@media (max-width: 480px) {
  .hero h2 { font-size: 1.8rem; }
  .section-title h2 { font-size: 1.8rem; }
  .btn { padding: 12px 25px; font-size: 0.85rem; }
  .hero-img { height: 300px; }
}
