/* Variáveis e Reset */
:root {
  --primary: #a5ff70;
  --primary-dark: #8ce45b;
  --secondary: #141613;
  --text: #333333;
  --bg: #ffffff;
  --gray: #f5f5f5;
  --transition: all 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(17, 24, 39, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.navbar.scrolled {
  background: rgba(17, 24, 39, 0.98);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.nav-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--secondary);
  text-decoration: none;
}

.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-links a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
}

.nav-links a:not(.btn)::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.3s ease;
}

.nav-links a:not(.btn):hover {
  color: var(--primary);
}

.nav-links a:not(.btn):hover::after {
  width: 100%;
}

/* Botão de Contato no Header */
.nav-links .btn-primary {
  padding: 0.6rem 1.2rem;
  margin-left: 0.5rem;
}

/* Hero Section */
.hero {
  padding: 8rem 5% 5rem;
  background: linear-gradient(135deg, rgba(165, 255, 112, 0.1) 0%, rgba(255, 255, 255, 0) 100%);
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero-content {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.hero h1 {
  font-size: 3.5rem;
  color: var(--secondary);
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.hero p {
  font-size: 1.2rem;
  color: var(--text);
  max-width: 600px;
  margin: 0 auto 2rem;
}

/* Botões */
.btn {
  display: inline-block;
  padding: 1rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
  border: none;
  cursor: pointer;
}

.btn-primary {
  background: var(--primary);
  color: var(--secondary);
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(165, 255, 112, 0.4);
}

/* Seções */
.section {
  padding: 5rem 5%;
}

.section-title {
  font-size: 2.5rem;
  color: var(--secondary);
  text-align: center;
  margin-bottom: 3rem;
}

/* Cards */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.card {
  background: var(--bg);
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  transition: var(--transition);
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.card-icon {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

.card-title {
  font-size: 1.5rem;
  color: var(--secondary);
  margin-bottom: 1rem;
}

/* Tabela de Comparação */
.comparison {
  max-width: 900px;
  margin: 0 auto;
  background: var(--bg);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  overflow-x: auto;
}

.comparison table {
  width: 100%;
  border-collapse: collapse;
  min-width: 600px;
}

.comparison th, .comparison td {
  padding: 1.5rem;
  text-align: left;
  border-bottom: 1px solid var(--gray);
}

.comparison th {
  background: var(--secondary);
  color: var(--bg);
  white-space: nowrap;
}

.comparison tr:last-child td {
  border-bottom: none;
}

/* Footer */
.footer {
  background: var(--secondary);
  color: var(--bg);
  padding: 4rem 5% 2rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-section h3 {
  color: var(--primary);
  margin-bottom: 1.5rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.8rem;
}

.footer-links a {
  color: var(--bg);
  text-decoration: none;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--primary);
}

.copyright {
  text-align: center;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Animações */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate {
  animation: fadeIn 0.6s ease forwards;
}

/* Responsividade */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .nav-links {
    display: none;
  }
  
  .mobile-menu {
    display: block;
  }
}

/* Formulário de Contato */
.contact {
  padding: 4rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.contact-container {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 3rem;
}

.contact-info {
  background: #f8f9fa;
  padding: 2rem;
  border-radius: 10px;
}

.contact-info h2 {
  margin-bottom: 2rem;
  color: #333;
}

.info-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}

.info-icon {
  font-size: 1.5rem;
  margin-right: 1rem;
}

.info-content h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: #333;
}

.info-content p {
  color: #666;
  line-height: 1.6;
}

.contact-form {
  max-width: 600px;
  margin: 0 auto;
  padding: 1rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--secondary);
  font-weight: 500;
}

.form-control {
  width: 100%;
  padding: 1rem;
  border: 2px solid var(--gray);
  border-radius: 10px;
  transition: var(--transition);
  font-size: 16px; /* Evita zoom em dispositivos móveis */
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
}

textarea.form-control {
  min-height: 150px;
  resize: vertical;
}

select.form-control {
  background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23131313%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E");
  background-repeat: no-repeat;
  background-position: right 0.7rem top 50%;
  background-size: 0.65rem auto;
}

.map {
  width: 100%;
  height: 450px;
  margin-top: 4rem;
}

.map iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* Responsividade para a página de contato */
@media (max-width: 768px) {
  .section {
    padding: 3rem 1rem;
  }

  .cards-grid {
    grid-template-columns: 1fr !important;
    gap: 1.5rem;
  }
  
  .card {
    padding: 1.5rem;
  }
  
  .form-control {
    padding: 0.8rem;
  }
  
  .form-group {
    margin-bottom: 1rem;
  }

  .hero {
    min-height: 40vh !important;
    padding-top: 6rem !important;
  }

  .social-links {
    margin-top: 1rem !important;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  iframe {
    height: 250px !important;
  }
}

/* Menu Hamburguer */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  cursor: pointer;
  z-index: 1000;
  position: relative;
  background: transparent;
  border: none;
  padding: 0;
}

.menu-toggle span {
  display: block;
  height: 3px;
  width: 100%;
  background-color: var(--text);
  border-radius: 3px;
  transition: all 0.3s ease;
}

/* Menu Mobile */
@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background-color: var(--bg);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    z-index: 999;
    transition: all 0.3s ease;
    display: flex;
  }

  .nav-links.active {
    right: 0;
  }

  .nav-links a {
    margin: 1rem 0;
    font-size: 1.2rem;
    color: var(--text);
    text-decoration: none;
    opacity: 0;
    transform: translateX(20px);
    transition: all 0.3s ease;
  }

  .nav-links.active a {
    opacity: 1;
    transform: translateX(0);
  }

  .menu-toggle.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
  }

  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
  }

  .nav-content {
    padding: 1rem;
  }

  /* Overlay quando o menu está aberto */
  .menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
  }

  .menu-overlay.active {
    opacity: 1;
    visibility: visible;
  }

  /* Ajustes para o menu mobile */
  body.menu-open {
    overflow: hidden;
  }

  .navbar {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
  }

  .nav-links a.btn {
    margin: 1rem 0;
  }
} 