/* =========================================
   1. RESET BÁSICO
   ========================================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  color: #333;
}


/* =========================================
   2. CLASSES DE ESTRUTURA
   ========================================= */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 80px 0;
}

.section h2 {
  text-align: center;
  margin-bottom: 40px;
  font-size: 2rem;
}

/* =========================================
   3. HEADER & NAVEGAÇÃO
   ========================================= */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: #ffffff;
  z-index: 1000;
  transition: box-shadow 0.3s ease;
}

.header .logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none !important; /* Força a remoção do sublinhado */
}

/* Estilo do Logo (Remove sublinhado e ajusta a cor) */
.header .logo {
  text-decoration: none !important;
}

.header .logo span {
  color: #0f172a !important;
  transition: color 0.3s ease;
}

.header .logo:hover span {
  color: #25D366 !important;
}

.header-scrolled {
  box-shadow: 0 8px 30px rgba(0,0,0,0.06);
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px; /* Espaço entre a imagem e o texto */
  text-decoration: none;
}

.logo span {
  font-size: 1.25rem;
  font-weight: 700;
  color: #0f172a;
  white-space: nowrap;
}

.logo img {
  max-height: 45px; /* Trava a altura do logo */
  width: auto;
  display: block;
  object-fit: contain;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 30px;
  align-items: center;
}

nav a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: color 0.3s;
}

nav a:hover {
  color: #25D366;
}

/* =========================================
   4. HERO SECTION
   ========================================= */
.hero {
  padding: 160px 0 100px; 
  text-align: center;
  background: #f8fafc;
}

.hero h1 {
  font-size: 3.5rem;
  color: #0f172a;
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero p {
  font-size: 1.25rem;
  color: #4b5563;
  max-width: 650px;
  margin: 0 auto;
}

/* =========================================
   5. SERVIÇOS E CARDS
   ========================================= */
.services-grid {
  display: flex;
  gap: 30px;
  justify-content: center;
  flex-wrap: wrap;
}

.card {
  background: #fff;
  padding: 30px;
  border-radius: 8px;
  width: calc(50% - 15px); 
  transition: 0.3s;
  box-shadow: 0 10px 30px rgba(0,0,0,0.04); 
}

.card:hover {
  transform: translateY(-6px);
}

.card h3 {
  margin-bottom: 16px;
}

/* =========================================
   6. SOBRE E TECNOLOGIAS
   ========================================= */
.dark-section {
  background: #0f172a;
  color: white;
}

.about-text {
  max-width: 900px;
  margin: auto;
  text-align: center;
  font-size: 1.15rem;
  color: rgba(255,255,255,0.82);
}

.tech-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.tech-grid span {
  padding: 14px 24px;
  border-radius: 999px;
  background: #f3f4f6;
  font-weight: 600;
  color: #333; 
}

/* =========================================
   7. CONTATO E FOOTER
   ========================================= */
.contact-section {
  text-align: center;
}

.contact-section p {
  margin-bottom: 30px;
  color: #4b5563;
}

.btn-primary {
  display: inline-block;
  padding: 15px 30px;
  background-color: #25D366;
  color: white;
  text-decoration: none;
  font-weight: bold;
  border-radius: 8px;
  transition: 0.3s;
}

.btn-primary:hover {
  background-color: #1ebc5a;
}

/* Estilo para links no rodapé */
.footer-links {
  margin-top: 15px;
  font-size: 0.85rem;
}

.footer-links a {
  color: #6b7280 !important;
  text-decoration: none !important;
  margin: 0 10px;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #0f172a !important;
}

.footer {
  padding: 30px 0;
  border-top: 1px solid rgba(0,0,0,0.06);
  text-align: center;
  color: #6b7280;
}

/* =========================================
   8. RESPONSIVO
   ========================================= */
@media (max-width: 768px) {
  .nav {
    flex-direction: column;
    gap: 16px;
  }

  nav ul {
    gap: 14px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .section {
    padding: 50px 0; 
  }

  .section h2 {
    font-size: 1.75rem;
  }
  
  .card {
    width: 100%; 
  }
}