/* Reset e Configurações Globais */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  
}



body {
  font-family: "Poppins", sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f9f9ff;
  position: relative;
  overflow-x: hidden;
  
}

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

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

.header {
  background-color: #8e44ad;
  padding: 4px 0 0 0;
  position: relative;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: linear-gradient(to right, #8e44ad, #4155ed);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  border-bottom: 2px solid #4155ed;
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.8rem;
  font-weight: 700;
  color: #8e44ad;
}

.logo img {
  width: auto;
  height: 68px;
}

/* Estilo do Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 5px;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: #8e44ad;
  margin: 3px 0;
  transition: 0.3s;
}

/* Estilo do menu */
.nav ul {
  display: flex;
  gap: 30px;
}

.nav a {
  font-weight: 500;
  color: #fff;
  transition: color 0.3s;
}

.nav a:hover {
  color: #fff;
}

/* Estilo do menu ativo */
.nav a.active {
  background: linear-gradient(to right, #a668cf, #7559aa);
  border-radius: 25px;
  padding: 8px 25px;
}

/* Hero Section */
.hero {
  background-image: linear-gradient(to top, #dce7fb 0%, #fefefe 70%);
  /* background: linear-gradient(135deg, #e6f0ff 0%, #edfaf9 100%); */
  padding: 180px 0 80px;
  text-align: center;
  color: #2c3e50;
}

.badge {
  padding: 5px 20px;
  font-size: 0.9rem;
  color: #4155ed;
  margin-bottom: 20px;
  display: inline-block;
  font-weight: 500;
  text-align: center;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 20px;
  color: #4155ed;
  line-height: 1.2;
  background: linear-gradient(to right, transparent, #4155ed 30%, #8d44ab 75%);
  background-size: 250% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: colorReveal 6s ease-in-out infinite;

}

@keyframes colorReveal {
  0% {
    background-position: 100% 50%; /* Começa com tudo transparente à direita */
  }
  50% {
    background-position: 0% 50%; /* Gradiente colorido centralizado */
    filter: brightness(1.0);
    text-shadow: 0 0 3px rgba(250, 250, 250, 0);
   
  }
  100% {
    background-position: 100% 50%; /* Volta para transparente */
  }
}

.hero p {
  font-size: 1.1rem;
  margin-bottom: 30px;
  color: #555;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
}

.btn-primary {
  background: linear-gradient(90deg, #4155ed, #3498db);
  color: white;
  padding: 14px 30px;
  border-radius: 30px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: transform 0.3s ease;
  box-shadow: 0 4px 15px rgba(142, 68, 173, 0.3);
}

.btn-primary:hover {
  transform: translateY(-3px);
}

.btn-outline {
  background: transparent;
  border: 2px solid #4155ed;
  color: #4155ed;
  padding: 14px 30px;
  border-radius: 30px;
  font-weight: 600;
  transition: all 0.3s;
  cursor: pointer;
}

.btn-outline:hover {
  background: #4155ed;
  color: white;
}

/* Stats */
.stats {
  padding: 80px 0;
  background: white;
  text-align: center;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 50px;
  margin-top: 40px;
}

.stat-item {
  font-size: 1.1rem;
  color: #555;
}

.stat-item .number {
  font-size: 2rem;
  font-weight: 700;
  color: #4155ed;
  display: block;
  margin-bottom: 8px;
}

/* Serviços */
.services {
  padding: 80px 0;
  background: white;
  text-align: center;
}

.services h2 {
  font-size: 2.5rem;
  margin-bottom: 15px;
  color: #2c3e50;
}

.subtitle {
  color: #555;
  margin-bottom: 50px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  font-size: 1.1rem;
}

/* .services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
} */

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* 2 colunas de tamanho igual */
  grid-template-rows: repeat(2, auto); /* 2 linhas com altura automática */
  gap: 30px;
  margin-bottom: 40px;
}

.service-card {
  background: white;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
  position: relative;
}

.service-card:hover {
  transform: translateY(-10px);
}

.service-card .card-header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, #4155ed, #3498db);
  border-radius: 10px 10px 0 0;
}

.service-card h3 {
  margin-bottom: 15px;
  font-size: 1.3rem;
  color: #2c3e50;
}

.service-card p {
  color: #555;
  margin-bottom: 20px;
  font-size: 1rem;
}

.card-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 10px;
}

.card-image img {
  width: 80%;
  height: 80%;
  object-fit: cover;
  border-radius: 10px;
}

.tags {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.tag {
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
  transition: all 0.3s;
}

.tag.purple {
  background: #f8d8ff;
  color: #4155ed;
}

.tag.blue {
  background: #e0f2ff;
  color: #3498db;
}

.tag.gray {
  background: #f0f0f0;
  color: #666;
}

/* Portfolio */
.portfolio {
  padding: 80px 0;
  background: white;
  text-align: center;
  background-color: #F0F2F5;
}

.portfolio h2 {
  font-size: 2.5rem;
  margin-bottom: 15px;
  color: #2c3e50;
}

.portfolio .subtitle {
  color: #555;
  margin-bottom: 50px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  font-size: 1.1rem;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.project-card {
  background: white;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
  position: relative;
}

.project-card .card-header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, #4155ed, #3498db);
  border-radius: 10px 10px 0 0;
}

.project-card img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.project-card h3 {
  margin: 15px 20px 10px;
  font-size: 1.2rem;
  color: #2c3e50;
}

.project-card p {
  margin: 0 20px 15px;
  font-size: 0.95rem;
  color: #555;
}

.project-card .tags {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 0 20px 20px;
}

/* Sobre Nós */
.about {
  padding: 80px 0;
  background: white;
  text-align: center;
}

.about h2 {
  font-size: 2.5rem;
  margin-bottom: 30px;
  color: #2c3e50;
}

.description {
  color: #555;
  margin-bottom: 50px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  font-size: 1.1rem;
}

.stats-about {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 50px;
  margin: 50px 0;
}

.stats-about .stat-item {
  font-size: 1.1rem;
  color: #555;
  text-align: center;
}

.stats-about .number {
  font-size: 2rem;
  font-weight: 700;
  color: #4155ed;
  display: block;
  margin-bottom: 8px;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin: 50px 0;
}

.team-member {
  background: white;
  border: 1px solid #e0e0e0;
  border-radius: 10px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  position: relative;
}

.team-member .card-header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, #4155ed, #3498db);
  border-radius: 10px 10px 0 0;
}

.team-member img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 15px;
}

.team-member h4 {
  font-size: 1.2rem;
  margin-bottom: 8px;
  color: #2c3e50;
}

.team-member .role {
  color: #4155ed;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 15px;
}

.team-member .bio {
  color: #555;
  font-size: 0.95rem;
}

.cta-section {
  margin-top: 50px;
  text-align: center;
}

.cta-section h3 {
  font-size: 1.8rem;
  margin-bottom: 15px;
  color: #2c3e50;
}

.cta-section p {
  color: #555;
  margin-bottom: 20px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Contato */
.contact {
  padding: 80px 0;
  background: white;
  text-align: center;
}

.contact h2 {
  font-size: 2.5rem;
  margin-bottom: 15px;
  color: #2c3e50;
}

.contact .subtitle {
  color: #555;
  margin-bottom: 50px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  font-size: 1.1rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.contact-info {
  background: #f9f9ff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.contact-info h3 {
  font-size: 1.5rem;
  margin-bottom: 20px;
  color: #2c3e50;
}

.contact-info p {
  color: #555;
  margin-bottom: 25px;
}

.info-item {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.info-item .icon {
  width: 30px;
  height: 30px;
  background: #e0f2ff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
  color: #3498db;
}

.info-item p {
  color: #555;
  font-size: 0.95rem;
}

/* Formulário de Contato */
.contact-form {
  background: #f9f9ff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: #2c3e50;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-family: "Poppins", sans-serif;
  font-size: 1rem;
}

.form-group textarea {
  resize: vertical;
  height: 120px;
}

/* Rodapé */
footer {
  background: white;
  padding: 60px 0;
  border-top: 1px solid #eee;
}

footer .container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
}

footer .logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: #4155ed;
  margin-bottom: 20px;
}

.social-links {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.social-links a {
  width: 40px;
  height: 40px;
  background: #4155ed;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
  transition: background 0.3s;
}

.social-links a:hover {
  background: #732d91;
}

.footer-info {
  margin-top: 20px;
  font-size: 0.9rem;
  color: #555;
}

.footer-info strong {
  color: #2c3e50;
}

/* Responsividade */
@media (max-width: 768px) {

  .header {
    position: fixed;        /* ← Fixa no topo */
    top: 0;
    left: 0;
    width: 100vw;           /* Usa a largura total da viewport */
    z-index: 1002;          /* Acima de tudo (mais alto que o menu) */
    background-color: #0a0a23; /* Ou a cor do seu header — importante! */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); /* Sombra suave para melhorar visual */
  }

   body {
    padding-top: 86px; /* ← Igual à altura do seu header (ou um pouco mais) */
  }

  .nav ul {
    display: flex;
    gap: 10px !important;
  }

  .nav a {
    font-weight: 500;
    color: #4e1573;
    transition: color 0.3s;
  }

  .nav li {
    width: 100%;
    text-align: center;
    background-color: #f9f9ff;
    padding: 20px 0;
  }

  .hero h1 {
    font-size: 2.375rem;
  }

  .stats-grid,
  .stats-about,
  .contact-grid,
  .team-grid,
  .portfolio-grid {
    grid-template-columns: 1fr;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .btn-primary,
  .btn-outline {
    width: 100%;
    max-width: 250px;
    margin: 0 auto;
  }

  footer .container {
    flex-direction: column;
  }
}


.social-whats {
  font-size: 30px;
  color: #fff;
  border-radius: 50%;
  padding: 10px;
  background-color: #01e675;
  box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
  width: 60px;
  height: 60px;
  text-align: center;
  text-decoration: none;
  line-height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
}

.social-whats i {
  font-size: 1.375em;
}

.botao {
  position: fixed;
  bottom: 65px;
  right: 30px;
  width: 50px;
  height: 50px;
  animation: pular 1s ease-in-out infinite;
  z-index: 1000;
}

@media (max-width: 600px) {
  .botao {
    bottom: 20px;
    right: 40px;
  }
}

@keyframes pular {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
}














/* Responsividade */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav-list {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background: white;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 40px;
    transition: 0.5s ease-in-out;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
  }

  .nav-list.active {
    left: 0;
  }

  .nav-list li {
    margin: 15px 0;
  }

  .hamburger span {
    background-color: #fff;
  }

  /* Animação do Hamburger */
  .hamburger.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
  }

  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
  }

  .hero {
    padding: 140px 0 80px;
  }

  /* Ajustes gerais */
  .hero h1 {
    font-size: 2.125rem;
  }

  .stats-grid,
  .stats-about,
  .contact-grid,
  .team-grid,
  .portfolio-grid,
  .services-grid {
    grid-template-columns: 1fr;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .btn-primary,
  .btn-outline {
    width: 100%;
    max-width: 250px;
    margin: 0 auto;
  }

  footer .container {
    flex-direction: column;
    text-align: center;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }
}
