/* RESET E ESTILOS GERAIS */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  background-color: #0b0514;
  color: #ffffff;
  font-family: 'Inter', sans-serif;
  overflow-x: hidden;
}

span {
  color: #a259ff;
}

/* NAVBAR */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 8%;
  background-color: black;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(162, 89, 255, 0.2);
}

/* Defina a largura máxima ou altura desejada para a logo */
.navbar .logo img {
  height: 50px; /* Altere este valor para o tamanho que achar ideal (ex: 25px, 30px, 35px) */
  width: auto;  /* Mantém a proporção original */
  display: block;
}

.navbar nav ul {
  display: flex;
  list-style: none;
  gap: 20px;
}

.navbar nav a {
  color: #ffffff;
  text-decoration: none;
  font-size: 0.9rem;
  transition: 0.3s;
}

.navbar nav a:hover {
  color: #a259ff;
}

/* HERO SECTION */
.hero {
  padding: 120px 8% 10px 8%;
  background: rgba(11, 5, 20, 0.95);
}

.hero-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.hero-text {
  max-width: 50%;
}

.hero-text h1 {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 30px;
}

.hero-image img {
  width: 100%;
  max-width: 550px;
}

/* BOTÕES */
.btn-primary {
  display: inline-block;
  background-color: #6a0ded;
  color: #fff;
  padding: 14px 28px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 700;
  transition: 0.3s ease;
  box-shadow: 0 4px 15px rgba(106, 13, 237, 0.4);
}

.btn-primary:hover {
  background-color: #8b22ff;
  transform: translateY(-3px);
}

/* TERMINAL SECTION */
.terminal-section {
  padding: 40px 8%;
  display: flex;
  justify-content: center;
}

.terminal-window {
  background-color: #0d061a;
  border: 1px solid #33155e;
  border-radius: 12px;
  width: 100%;
  max-width: 900px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  font-family: 'Fira Code', monospace;
}

.terminal-header {
  background-color: #160a2b;
  padding: 10px 15px;
  display: flex;
  align-items: center;
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
}

.dot {
  height: 12px;
  width: 12px;
  border-radius: 50%;
  display: inline-block;
  margin-right: 8px;
}
.red { background-color: #ff5f56; }
.yellow { background-color: #ffbd2e; }
.green { background-color: #27c93f; }

.terminal-title {
  color: #888;
  font-size: 0.85rem;
  margin-left: 10px;
}

.terminal-body {
  padding: 25px;
  font-size: 0.95rem;
  line-height: 1.6;
}

.comment { color: #828282; }
.highlight { color: #ff0055; font-weight: bold; }
.purple-text { color: #a259ff; font-weight: bold; }

/* LAYOUT DE GRIDS DE CARDS */
section {
  padding: 80px 8%;
}

h2 {
  font-size: 2.2rem;
  text-align: center;
  margin-bottom: 50px;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
}

.card {
  background: #130a24;
  border: 1px solid #2a1548;
  border-radius: 16px;
  padding: 30px;
  transition: transform 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  border-color: #a259ff;
}

.card-header-icon {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
}

.card h3 {
  font-size: 1.2rem;
}

.card p {
  color: #cccccc;
  font-size: 0.95rem;
  line-height: 1.6;
}

.callout-box {
  text-align: center;
  margin-top: 50px;
}

.callout-box p {
  font-size: 1.2rem;
  margin-bottom: 20px;
}

/* ESTATÍSTICAS */
.section-stats {
  background: linear-gradient(90deg, #130327, #240a42);
  padding: 50px 8%;
}

.stats-grid {
  display: flex;
  justify-content: space-around;
  text-align: center;
  flex-wrap: wrap;
  gap: 30px;
}

.stat-item h3 {
  font-size: 3rem;
  color: #a259ff;
  font-weight: 800;
}

.stat-item p {
  color: #ddd;
  font-size: 1rem;
}

/* SOBRE NÓS */
.team-grid {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.team-card {
  background-color: #130a24;
  border-radius: 20px;
  padding: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  border: 1px solid #2a1548;
}

.team-info {
  flex: 1;
}

.role-badge {
  background-color: #a259ff;
  color: #fff;
  padding: 6px 16px;
  border-radius: 20px;
  font-weight: bold;
  font-size: 0.85rem;
  display: inline-block;
  margin-bottom: 20px;
}

.team-photo {
  text-align: center;
}

.team-photo img {
  border-radius: 50%;
  width: 180px;
  height: 180px;
  object-fit: cover;
}

.team-photo .handle {
  display: block;
  margin-top: 10px;
  color: #aaa;
  font-size: 0.9rem;
}

/* PARCEIROS */
.section-parceiros {
  text-align: center;
}

.subtitle {
  color: #888;
  margin-top: -30px;
  margin-bottom: 40px;
}

.partners-grid {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.partner-logo img {
  border-radius: 50%;
  width: 120px;
  height: 120px;
  object-fit: cover;
}

/* FOOTER */
footer {
  text-align: center;
  padding: 40px;
  border-top: 1px solid #2a1548;
  background-color: #07030d;
  color: #777;
  font-size: 0.85rem;
}

.footer-logo img {
  margin-bottom: 10px;
}

/* BOTÃO FLUTUANTE WHATSAPP */
.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 30px;
  right: 30px;
  background-color: #25d366;
  color: #fff;
  border-radius: 50px;
  text-align: center;
  font-size: 30px;
  box-shadow: 2px 2px 10px rgba(0,0,0,0.3);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: transform 0.3s;
}

.whatsapp-float:hover {
  transform: scale(1.1);
}

/* RESPONSIVIDADE */
@media (max-width: 768px) {
  .hero-container, .team-card {
    flex-direction: column;
    text-align: center;
  }
  
  .hero-text {
    max-width: 100%;
  }

  .navbar nav {
    display: none; /* Em telas muito pequenas o menu pode ser adaptado */
  }
}

/* Transição para a altura da janela expandir suavemente */
.terminal-window {
  transition: all 0.3s ease-out;
  overflow: hidden;
}

/* Estilo do cursor piscante */
.terminal-body {
  position: relative;
}

.typing-cursor {
  display: inline-block;
  width: 8px;
  height: 15px;
  background-color: #a259ff;
  margin-left: 5px;
  animation: blink 0.8s infinite;
  vertical-align: middle;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* Ajusta o tamanho da imagem do ícone dentro do cabeçalho do card */
.card-header-icon img {
  width: 80px;   /* Largura do ícone (diminua o valor para diminuir o ícone, ex: 20px, 18px) */
  height: 80px;  /* Altura do ícone (mantenha igual à largura) */
  object-fit: contain; /* Garante que o ícone não fique distorcido */
}

/* PARCEIROS - Ajuste do tamanho dos logos */
.partner-logo img {
  width: 200px;        /* Defina a largura (ex: 70px, 80px, 90px ou 100px) */
  height: 200px;       /* Defina a altura (mantenha o mesmo valor do width) */
  border-radius: 50%; /* Garante o formato circular das fotos/logos */
  object-fit: cover;  /* Mantém a proporção da imagem sem esticar */
  transition: transform 0.3s ease;
}

/* Efeito interativo opcional ao passar o mouse */
.partner-logo img:hover {
  transform: scale(1.08);
  border-color: #a259ff;
}

/* FOOTER - Ajuste do tamanho da logo */
.footer-logo img {
  width: 60px;   /* Largura da logo (altere para o tamanho desejado, ex: 30px, 50px, 60px) */
  height: auto;  /* Mantém a proporção correta */
  margin-bottom: 5px;
  display: inline-block;
  margin-top: -25px;
}

/* Estilo para os links da equipe */
.team-photo-link {
  text-decoration: none;
  display: block;
  transition: transform 0.3s ease;
}

.team-photo-link:hover {
  transform: scale(1.05); /* Efeito suave de zoom ao passar o mouse */
}