@font-face {
  font-family: 'Inter';
  src: url('./fonts/Inter-VariableFont_opsz,wght.ttf') format('truetype');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Inter';
  src: url('./fonts/Inter-Italic-VariableFont_opsz,wght.ttf') format('truetype');
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}

/* Reset básico e fontes */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', sans-serif;
  scroll-behavior: smooth;
}

body {
  background-color: #0f0f10;
  color: #f0f0f5;
  line-height: 1.6;
}

a {
  text-decoration: none;
}

.menu-toggle {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  z-index: 100;
  width: 32px;
  height: 32px;
  position: relative;
}


/* HEADER */
header {
  background: #0f0f10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 2rem;
  border-bottom: 1px solid #222;
  position: sticky;
  top: 0;
  z-index: 10;
}

header img {
  height: 48px;
}

nav {
  display: flex;
  gap: 1.5rem;
}

nav a {
  color: #f0f0f5;
  font-weight: 600;
  transition: color 0.3s;
}

nav a:hover {
  color: #06f6d2;
}

/* MENU MOBILE */
.menu-toggle {
  display: none;
  cursor: pointer;
  z-index: 100;
  width: 32px;
  height: 32px;
  position: relative;
}

.menu-toggle svg {
  position: absolute;
  top: 0;
  left: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
  width: 32px;
  height: 32px;
}

.menu-toggle svg path {
  stroke: #e1e1e6;
  stroke-width: 2;
  stroke-linecap: round;
}

#icon-menu {
  opacity: 1;
  transform: rotate(0deg);
}

#icon-close {
  opacity: 0;
  transform: rotate(-90deg);
}

.menu-toggle.active #icon-menu {
  opacity: 0;
  transform: rotate(90deg);
}

.menu-toggle.active #icon-close {
  opacity: 1;
  transform: rotate(0deg);
}

@media (max-width: 768px) {
  nav {
    display: none;
    flex-direction: column;
    background-color: #0f0f10;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    padding: 1rem 2rem;
  }

  nav.active {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }

  header {
    flex-wrap: nowrap;
    justify-content: space-between;
  }

  header img {
    height: 50px;
  }
}

/* NOVO HERO TECH */
.hero-tech {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding: 7rem 10rem;
  gap: 2rem;
  background: linear-gradient(145deg, #022229, #101010);
  min-height: 70vh;
}

.teia-canvas {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  z-index: 0;
  pointer-events: none;
}

.hero-content,
.hero-graphic {
  position: relative;
  z-index: 1;
  max-width: 100%;
  height: auto;
  /* filter: drop-shadow(0 0 10px #06f6d280) !important; */
}

.hero-content h1 {
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-size: 2.8rem;
  line-height: 1.2;
  color: #fff;

}

.hero-content .highlight {
  color: #06f6d2;
}

.hero-content p {
  margin-top: 1rem;
  font-size: 1.1rem;
  color: #ccc;
  max-width: 480px;
}

.hero-buttons {
  margin-top: 2rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-primary,
.btn-secondary {
  padding: 0.8rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-primary {
  background: #06f6d2;
  color: #000;
}

.btn-primary:hover {
  background: #006454;
}

.btn-secondary {
  border: 1px solid #06f6d2;
  color: #06f6d2;
}

.btn-secondary:hover {
  background: #06f6d2;
  color: #000;
}

.hero-graphic {
  flex: 1;
  min-width: 300px;
  text-align: center;
}

.hero-graphic img {
  max-width: 100%;
  height: auto;
  filter: drop-shadow(0 0 10px #06f6d280);

}

@media (max-width: 768px) {
  .hero-tech {
    flex-direction: column;
    padding: 4rem 1.5rem;
    text-align: center;
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 0.75rem;
  }

  .hero-graphic {
    margin-top: 2rem;
  }

  .logo {
    width: 240px;
    /* tamanho base mobile */
    height: auto;
  }

  .hero-graphic,
  .teia-canvas {
    display: none;
  }

}

/* SEÇÕES GERAIS */
.section {
  padding: 5rem 2rem;
  text-align: center;
}

.section h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: #06f6d2;
}

.section p {
  color: #ccc;
  max-width: 800px;
  margin: 0 auto 2rem;
}

/* SERVIÇOS E PORTFÓLIO */
.services,
.portfolio {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.service,
.portfolio-item {
  background: #1a1a1d;
  padding: 2rem;
  border-radius: 16px;
  transition: 0.3s;
}

.service:hover,
.portfolio-item:hover {
  /* box-shadow: 0 0 24px rgba(223, 223, 223, 0.2); */
  transform: translateY(-5px);
}

.service h3,
.portfolio-item h3 {
  font-size: 1.3rem;
  color: #fff;
}

.service p,
.portfolio-item p {
  color: #bbb;
}

.portfolio-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 1rem;
}

/* CLIENTES */
.clientes-logo {
  max-height: 100px;
  max-width: 100%;
  filter: grayscale(100%);
  transition: filter 0.3s ease, transform 0.3s ease;
}

.clientes-logo:hover {
  filter: grayscale(0%);
  transform: scale(1.05);
}

.clientes-card {
  background: #0f0f10;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 140px;
  border-radius: 12px;
}

/* BOTÃO WHATSAPP */
.whatsapp-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #06f6d2;
  border: none;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 5px rgba(0, 207, 255, 0.7);
  cursor: pointer;
  transition: background 0.3s ease;
}

.whatsapp-btn:hover {
  background-color: #0057e7;
  box-shadow: 0 0 25px rgba(0, 87, 231, 0.9);
}

.whatsapp-btn svg {
  width: 30px;
  height: 30px;
  display: block;
}

/* FOOTER */
footer {
  text-align: center;
  padding: 3rem 1rem;
  background: #111;
  color: #777;
  font-size: 0.9rem;
}

/* LOGO GENÉRICA */
.logo {
  width: 240px;
  /* tamanho base desktop */
  height: auto;
  aspect-ratio: 1 / 1;
}