:root {
  --primary-color: #2563eb;
  --secondary-color: #1e40af;
  --accent-color: #3b82f6;
  --text-color: #1f2937;
  --light-bg: #f3f4f6;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
  line-height: 1.6;
  color: var(--text-color);
}

nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: white;
  padding: 1rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  z-index: 1000;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo img {
  height: 40px;
  width: auto;
}

.logo-div {
  display: flex;
  align-items: center;
}
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--text-color);
  cursor: pointer;
}

.lang-selector {
  position: relative;
  display: inline-block;
}

.lang-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  background: white;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  border-radius: 4px;
  min-width: 120px;
  z-index: 1000;
}

.lang-selector:hover .lang-dropdown {
  display: block;
}

.lang-option {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.lang-option:hover {
  background: var(--light-bg);
}

.lang-flag {
  width: 20px;
  height: 15px;
  object-fit: cover;
  border-radius: 2px;
}

.current-lang {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  cursor: pointer;
  border: none;
  background: none;
  color: var(--text-color);
}

.current-lang .lang-flag {
  margin-right: 4px;
}

.lang-selector {
  display: flex;
  gap: 1rem;
  list-style: none;
}

.lang-selector button {
  background: none;
  border: none;
  color: var(--text-color);
  cursor: pointer;
  padding: 0.5rem;
  font-weight: 500;
  transition: color 0.3s ease;
}

.lang-selector button:hover {
  color: var(--primary-color);
}

.lang-selector button.active {
  color: var(--primary-color);
  font-weight: 600;
}

.nav-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-color);
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: var(--primary-color);
}

.hero {
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  color: white;
  padding: 8rem 2rem 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  animation: slideDown 1s ease-out;
}

.hero p {
  font-size: 1.2rem;
  max-width: 800px;
  margin: 0 auto 2rem;
  animation: fadeIn 1.5s ease-out;
}

.cta-button {
  display: inline-block;
  background: white;
  color: var(--primary-color);
  padding: 1rem 2rem;
  border-radius: 4px;
  text-decoration: none;
  font-weight: bold;
  transition: transform 0.3s ease;
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.services {
  padding: 4rem 2rem;
  background: var(--light-bg);
}

.service-banner {

  min-height: 400px;
  margin: 2rem 0;
  padding: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: white;
  border-radius: 15px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.service-banner:hover {
  transform: translateY(-5px);
}

.service-content {
  flex: 1;
  padding: 2rem;
}

.service-icon {
  font-size: 4rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.service-title {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--text-color);
}

.service-description {
  font-size: 1.1rem;
  color: #666;
  margin-bottom: 1.5rem;
  max-width: 600px;
}

.service-learn-more {
  display: inline-block;
  padding: 0.8rem 1.5rem;
  background: var(--primary-color);
  color: white;
  text-decoration: none;
  border-radius: 5px;
  transition: background 0.3s ease;
}

.service-learn-more:hover {
  background: var(--secondary-color);
}

.benefits {
  padding: 4rem 2rem;
  text-align: center;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 2rem auto;
}

.benefit-item {
  padding: 1.5rem;
  background: var(--light-bg);
  border-radius: 8px;
  transition: transform 0.3s ease;
}

.benefit-item:hover {
  transform: translateY(-3px);
}

.benefit-item i {
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.contact {
  padding: 4rem 2rem;
  background: var(--primary-color);
  color: white;
}

.whatsapp-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #25d366;
  color: white;
  padding: 1rem 2rem;
  border-radius: 4px;
  text-decoration: none;
  font-weight: bold;
  transition: transform 0.3s ease;
}

.whatsapp-button:hover {
  transform: translateY(-2px);
  background: #128c7e;
}

footer {
  background: var(--text-color);
  color: white;
  padding: 3rem 2rem;
  text-align: center;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin: 2rem 0;
}

.social-links a {
  color: white;
  font-size: 1.5rem;
  transition: transform 0.3s ease;
}

.social-links a:hover {
  transform: translateY(-3px);
}

.nav-content {
  width: 100%;
  display: flex;
  justify-content: space-between;
}

@keyframes slideDown {
  from {
    transform: translateY(-50px);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@media (max-width: 768px) {
  .nav-container {
    display: grid;
    justify-content: center;
    justify-items: center;
  }

  .mobile-menu-btn {
    display: flex;
    position: static;
    top: 1rem;
    /* left: 16rem; */
    justify-content: flex-end;
    /* height: 50px; */
    padding: 2px;
    border: 1px solid;
    border-radius: 8px;
    /* margin: 15px;*/
  }

  .nav-content {
    display: none;
    width: 100%;
    padding-top: 1rem;
  }

  .nav-content.active {
    display: block;
  }

  .nav-links {
    flex-direction: column;
    align-items: center;
    margin-bottom: 1rem;
  }

  .lang-selector {
    justify-content: center;
    margin-bottom: 1rem;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .service-banner {
    flex-direction: column;
    text-align: center;
    height: auto;
    min-height: auto;
    padding: 2rem 1rem;
  }

  .service-content {
    padding: 1rem;
  }

  .service-description {
    margin: 1rem auto;
  }
}

.service-page {
  display: none;
  padding-top: 80px;
  min-height: 100vh;
  background: white;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999;
  overflow-y: auto;
}

.service-page.active {
  display: block;
}

.service-page-header {
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  color: white;
  padding: 4rem 2rem;
  text-align: center;
}

.service-page-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
}

.back-button {
  position: sticky;
  top: 20px;
  left: 20px;
  background: #000000;
  color: white;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  cursor: pointer;
  z-index: 1000;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

.back-button:hover {
  background: var(--secondary-color);
  transform: translateY(-2px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.back-button:active {
  transform: translateY(0);
}


/* Estilos para a seção de serviços */
.services {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); /* Cria colunas responsivas */
    gap: 20px; /* Espaçamento entre os itens */
    padding: 20px;
    justify-items: center; /* Alinha os itens dentro das células do grid */
  }
  
  /* Estilos para cada banner de serviço */
  .service-banner {
    background-color: #f9f9f9; /* Cor de fundo do banner */
    border-radius: 8px; /* Bordas arredondadas */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Sombra suave */
    display: flex;
    flex-direction: column;
    align-items: center; /* Centraliza os itens dentro do banner */
    padding: 20px;
    text-align: center;
    transition: transform 0.3s ease; /* Transição para o efeito de hover */
  }
  
  /* Efeito ao passar o mouse */
  .service-banner:hover {
    transform: translateY(-5px); /* Levanta o item quando o mouse passa */
  }
  
  /* Ícones dos serviços */
  .service-icon {
    font-size: 40px;
    color: #007bff; /* Cor dos ícones */
    margin-bottom: 15px;
  }
  
  /* Títulos dos serviços */
  .service-title {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 10px;
  }
  
  /* Descrição dos serviços */
  .service-description {
    font-size: 1rem;
    margin-bottom: 15px;
  }
  
  /* Link 'Saiba Mais' */
  .service-learn-more {

    font-weight: bold;
  }
  
  .service-learn-more:hover {
    text-decoration: underline;
  }
  