/* ==========================================================================
   1. IMPORTAÇÃO DE FONTES & VARIÁVEIS DE SISTEMA
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Fira+Code:wght@400;600&family=Lexend:wght@400;500;700;800&display=swap');

:root {
  /* Cores Principais */
  --fundo-principal: #050b14;
  /* Tom muito escuro, quase preto */
  --fundo-card: #0d1726;
  /* Tom de contraste para os cards */
  --cor-texto: #ffffff;
  /* Texto primário */
  --cor-texto-sub: #a0aec0;
  /* Texto secundário */
  --neon: #00f0ff;
  /* Azul Neon de destaque */

  /* Tipografia */
  --fonte-principal: 'Lexend', sans-serif;
  --fonte-code: 'Fira Code', monospace;
}

/* ==========================================================================
   2. RESET GLOBAL & CONFIGURAÇÕES BASE
   ========================================================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--fundo-principal);
  color: var(--cor-texto);
  font-family: var(--fonte-principal);
  font-weight: 400;
  line-height: 1.6;
  overflow-x: hidden;
}

html,
body {
  margin: 0 !important;
  padding: 0 !important;
  background-color: var(--fundo-principal);
  /* Evita qualquer risco de cor diferente vazando */
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ==========================================================================
   3. HEADER / NAVBAR FLUTUANTE
   ========================================================================== */
header {
  position: absolute;
  /* Não empurra a Hero no topo */
  top: 20px;
  left: 0;
  width: 100%;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-20px);
  transition: opacity 0.4s ease-in-out, transform 0.4s ease-in-out;
  pointer-events: none;
  /* Evita bloquear cliques enquanto invisível */
}

/* Quando o JS adiciona a classe ao rolar a página */
header.visible {
  position: fixed;
  /* Fixa o menu na tela ao rolar */
  top: 20px;
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.nav-floating {
  max-width: 450px;
  margin: 0 auto;
  background-color: rgba(13, 23, 38, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(0, 240, 255, 0.25);
  border-radius: 100px;
  padding: 12px 30px;
  display: flex;
  justify-content: center;
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.nav-floating:hover {
  border-color: rgba(0, 240, 255, 0.6);
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.15);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 30px;
  align-items: center;
}

.nav-links a {
  color: var(--cor-texto);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: var(--neon);
}

/* ==========================================================================
   4. HERO SECTION (Logo Centralizada + Chamada Principal)
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 100px 20px 80px 20px;
  background-color: var(--fundo-principal);
  overflow: hidden;
  margin: 0 !important;
  isolation: isolate;
}

/* 1. Malha Retro Grid */
.retro-grid {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(0, 240, 255, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0, 240, 255, 0.05) 1px, transparent 1px);
  background-size: 50px 50px;
  mask-image: radial-gradient(circle at center, black 40%, transparent 85%);
  -webkit-mask-image: radial-gradient(circle at center, black 40%, transparent 85%);
  opacity: 0.7;
}

/* 2. Spotlight Interativo */
.spotlight-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  background: radial-gradient(600px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
      rgba(0, 240, 255, 0.12),
      transparent 40%);
  transition: background 0.15s ease-out;
}

#matrix-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  opacity: 0.15;
  /* Sutil para não atrapalhar a leitura do texto */
  pointer-events: none;
}

#particles-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  /* Permite clicar nos botões normalmente */
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  /* Mantém o texto/botões acima das partículas */
}

.hero-logo img {
  max-width: 320px;
  /* Aumentado (era 220px) para dar presença forte */
  width: 100%;
  height: auto;
  margin-bottom: 85px;
}

.hero h1 {
  font-size: 3.8rem;
  /* Aumentado (era 2.8rem) para impacto máximo */
  font-weight: 800;
  max-width: 950px;
  margin: 0 auto 50px auto;
  letter-spacing: -1.5px;
  line-height: 1.1;
}

.hero p {
  font-size: 1.25rem;
  color: var(--cor-texto-sub);
  max-width: 650px;
  margin: 0 auto 40px auto;
}

/* BOTÃO DE AÇÃO PRINCIPAL (CTA) */
.btn-primary {
  display: inline-block;
  background-color: var(--neon);
  color: #000000;
  padding: 14px 32px;
  text-decoration: none;
  font-family: var(--fonte-code);
  font-weight: 600;
  border-radius: 5px;
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.4);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 25px rgba(0, 240, 255, 0.7);
}

/* Orbes de Luz Desfocados (Glow Effect) */
.glow-orb {
  position: absolute;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  filter: blur(130px);
  /* Suaviza a luz criando a aura neon */
  opacity: 0.22;
  /* Intensidade sutil para não ofuscar */
  pointer-events: none;
  z-index: 1;
  /* Fica no fundo junto com o canvas */
}

/* Canto Superior Esquerdo - Ciano Neon */
.glow-top-left {
  top: -120px;
  left: -120px;
  background: var(--neon);
}

/* Canto Inferior Direito - Azul Royal Tech */
.glow-bottom-right {
  bottom: -120px;
  right: -120px;
  background: #3b82f6;
}

/* ==========================================================================
   5. SERVIÇOS & DIFERENCIAIS (ESTILO HIGH-END PITANGA REFACTOR)
   ========================================================================== */
.servicos {
  padding: 100px 0;
  background-color: var(--fundo-card);
  /* Alterado de var(--fundo-principal) para o tom de contraste */
  border-top: 1px solid #1e293b;
  border-bottom: 1px solid #1e293b;
  text-align: center;
}

.cards-grid {
  display: flex;
  gap: 25px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 40px;
  margin-bottom: 40px;
}

/* Cards em tom mais escuro para sobressair sobre a seção */
.card {
  position: relative;
  background-color: var(--fundo-principal);
  /* Garante o contraste dos cards */
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 40px 30px;
  flex: 1;
  min-width: 280px;
  max-width: 360px;
  text-align: left;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

/* Pílulas de diferenciais no tom escuro do fundo principal */
.diferencial-item {
  background-color: var(--fundo-principal);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(0, 240, 255, 0.2);
  border-radius: 12px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

/* Números Gigantes Marca d'Água no Canto */
.card-number {
  position: absolute;
  top: 10px;
  right: 20px;
  font-family: var(--fonte-code);
  font-size: 4.5rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.03);
  line-height: 1;
  pointer-events: none;
  transition: color 0.3s ease;
}

.card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 240, 255, 0.3);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4), 0 0 20px rgba(0, 240, 255, 0.08);
}

.card:hover .card-number {
  color: rgba(0, 240, 255, 0.08);
}

/* Ícones das Caixas */
.card-icon {
  width: 48px;
  height: 48px;
  background-color: rgba(0, 240, 255, 0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--neon);
  margin-bottom: 25px;
}

.card h3 {
  color: #ffffff;
  font-weight: 700;
  font-size: 1.25rem;
  line-height: 1.4;
  margin-bottom: 15px;
  z-index: 2;
}

.card p {
  color: var(--cor-texto-sub);
  font-size: 0.92rem;
  line-height: 1.6;
  z-index: 2;
}

/* --- BANNER DE DIFERENCIAIS --- */
.diferenciais-banner {
  background: linear-gradient(135deg, rgba(0, 240, 255, 0.15) 0%, rgba(13, 23, 38, 0.9) 100%);
  border: 1px solid rgba(0, 240, 255, 0.3);
  border-radius: 20px;
  padding: 40px;
  text-align: left;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  margin-top: 30px;
}

.diferenciais-banner h3 {
  color: #ffffff;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 25px;
  letter-spacing: -0.5px;
}

.diferenciais-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 15px;
}

.diferencial-item {
  background-color: rgba(5, 11, 20, 0.6);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(0, 240, 255, 0.2);
  border-radius: 12px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.diferencial-item:hover {
  transform: translateY(-2px);
  border-color: var(--neon);
}

.check-icon {
  color: var(--neon);
  flex-shrink: 0;
}

.diferencial-item span {
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 600;
}

/* Responsivo para Celular */
@media (max-width: 768px) {
  .diferenciais-banner {
    padding: 25px 20px;
  }

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

/* ==========================================================================
   2. SOBRE A AGAVE LAB (RESTRUTURADO)
   ========================================================================== */
.sobre {
  padding: 100px 0;
  background-color: var(--fundo-principal);
}

.sobre-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
}

.sobre-conteudo {
  flex: 1.1;
}

.tag-section {
  color: var(--neon);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 10px;
  display: inline-block;
}

.sobre-conteudo h2 {
  font-size: 2.2rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.3;
  margin-bottom: 20px;
}

.sobre-conteudo p {
  color: var(--cor-texto-sub);
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 15px;
}

.sobre-conteudo strong {
  color: var(--cor-texto);
}

/* Mini Cards de Diferenciais */
.sobre-diferenciais {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 30px;
}

.diferencial-card {
  display: flex;
  align-items: center;
  gap: 15px;
  background-color: var(--fundo-card);
  padding: 16px 20px;
  border-radius: 8px;
  border: 1px solid #1e293b;
  transition: border-color 0.3s ease;
}

.diferencial-card:hover {
  border-color: rgba(0, 240, 255, 0.4);
}

.icon-box {
  font-size: 1.5rem;
  background-color: var(--fundo-principal);
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  border: 1px solid #1e293b;
}

.diferencial-card h4 {
  color: var(--cor-texto);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 2px;
}

.diferencial-card p {
  color: var(--cor-texto-sub);
  font-size: 0.85rem;
  margin-bottom: 0;
}

/* Janela de Código / Visual Tech */
.sobre-visual {
  flex: 0.9;
  display: flex;
  justify-content: center;
}

.code-window {
  width: 100%;
  max-width: 440px;
  background-color: #050b14;
  border: 1px solid #1e293b;
  border-radius: 12px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5), 0 0 20px rgba(0, 240, 255, 0.1);
  overflow: hidden;
}

.window-header {
  background-color: #0d1726;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid #1e293b;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.dot-red {
  background-color: #ff5f56;
}

.dot-yellow {
  background-color: #ffbd2e;
}

.dot-green {
  background-color: #27c93f;
}

.window-title {
  color: var(--cor-texto-sub);
  font-size: 0.8rem;
  margin-left: 10px;
  font-family: monospace;
}

.window-body {
  padding: 20px;
  font-family: 'Consolas', 'Monaco', monospace;
  font-size: 0.9rem;
  line-height: 1.6;
}

.code-keyword {
  color: #ff79c6;
}

.code-prop {
  color: #00f0ff;
}

.code-string {
  color: #f1fa8c;
}

.code-comment {
  color: #6272a4;
  font-style: italic;
}

.code-func {
  color: #50fa7b;
}

/* Responsivo */
@media (max-width: 900px) {
  .sobre-grid {
    flex-direction: column;
  }

  .sobre-visual {
    width: 100%;
  }
}

/* ==========================================================================
   4. CONTATO / FORMULÁRIO EM 2 COLUNAS
   ========================================================================== */
.contato-section {
  padding: 100px 0;
  background-color: var(--fundo-principal);
}

.contato-grid {
  display: flex;
  align-items: center;
  gap: 50px;
}

.contato-col-form {
  flex: 1;
  /* Formulário */
}

.contato-col-visual {
  flex: 1.1;
  /* Aumentado de 0.8 para 1.1 para expandir o lado direito */
  display: flex;
  justify-content: center;
  align-items: center;
}

.visual-wrapper {
  width: 100%;
  max-width: 580px;
  /* Aumentado de 500px para 580px */
  display: flex;
  justify-content: center;
}

/* ==========================================================================
   ECOSSISTEMA DE COMUNICAÇÃO (ANIMADO VIA CSS)
   ========================================================================== */
.communication-ecosystem {
  width: 120%;
  /* Força o SVG a preencher além do container */
  height: auto;
  max-width: 580px;
  filter: drop-shadow(0 0 30px rgba(0, 240, 255, 0.25));
}

.elem-item {
  transform-origin: center;
}

/* Celular Central */
.phone-main {
  animation: floatPhone 4s ease-in-out infinite;
}

@keyframes floatPhone {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-12px);
  }
}

/* Balão de Chat (Esquerda Superior) */
.float-chat-left {
  animation: floatItem 3.5s ease-in-out infinite alternate;
}

/* Envelope (Direita Superior) */
.float-env-right {
  animation: floatItem 4s ease-in-out 0.5s infinite alternate;
}

/* Notificação @ (Esquerda Inferior) */
.float-badge-left {
  animation: floatItem 3.8s ease-in-out 1s infinite alternate;
}

/* Check de Entregue (Direita Inferior) */
.float-check-right {
  animation: floatItem 3.2s ease-in-out 0.3s infinite alternate;
}

@keyframes floatItem {
  0% {
    transform: translateY(0) rotate(0deg);
  }

  100% {
    transform: translateY(-15px) rotate(2deg);
  }
}

/* Partículas Neon */
.p-pulse {
  animation: pulseParticle 2s ease-in-out infinite alternate;
}

.p2 {
  animation-delay: 0.6s;
}

.p3 {
  animation-delay: 1.2s;
}

@keyframes pulseParticle {
  0% {
    opacity: 0.2;
    transform: scale(0.8);
  }

  100% {
    opacity: 1;
    transform: scale(1.4);
  }
}

@keyframes flutuar {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-15px);
  }
}

.contato-header {
  margin-bottom: 30px;
}

.contato-header h2 {
  color: var(--neon);
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 10px;
  text-align: center;
}

.contato-header p {
  color: var(--cor-texto-sub);
  font-size: 1.05rem;
  text-align: center;
}

.contato-form {
  background-color: var(--fundo-card);
  padding: 35px;
  border-radius: 12px;
  border: 1px solid #1e293b;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.form-group {
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
}

.form-group label {
  color: var(--cor-texto);
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 8px;
}

.required {
  color: var(--neon);
  font-weight: bold;
}

.optional {
  color: var(--cor-texto-sub);
  font-size: 0.8rem;
  font-weight: normal;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  background-color: var(--fundo-principal);
  border: 1px solid #1e293b;
  border-radius: 6px;
  color: var(--cor-texto);
  font-family: var(--fonte-principal);
  font-size: 0.95rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  outline: none;
}

.form-group select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg fill='%23a0aec0' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>");
  background-repeat: no-repeat;
  background-position: right 15px center;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--neon);
  box-shadow: 0 0 10px rgba(0, 240, 255, 0.2);
}

.btn-block {
  width: 100%;
  text-align: center;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

/* Responsivo para Telas Menores */
@media (max-width: 900px) {
  .contato-grid {
    flex-direction: column;
  }

  .contato-col-visual {
    display: none;
    /* Oculta a imagem no celular para o formulário ficar focado */
  }
}

/* ==========================================================================
   ESTILO DO FOOTER
   ========================================================================== */
/* .footer {
  background-color: var(--fundo-principal);
  border-top: 1px solid #1e293b;
  padding: 80px 0 30px 0;
}*/

.footer {
  background-color: var(--fundo-card);
  border-top: 1px solid #1e293b;
  padding: 80px 0 30px 0;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  margin-bottom: 60px;
}

.footer-col {
  flex: 1;
  min-width: 220px;
}

.footer-col.border-col {
  flex: 1.5;
}

.footer-logo img {
  max-width: 180px;
  height: auto;
  margin-bottom: 15px;
}

.footer-tagline {
  color: var(--cor-texto-sub);
  font-size: 0.95rem;
  margin-bottom: 25px;
  max-width: 320px;
}

/* Lista de Contato */
.contact-info {
  list-style: none;
  margin-bottom: 25px;
}

.contact-info li {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 0.95rem;
}

.contact-info a {
  color: var(--cor-texto);
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-info a:hover {
  color: var(--neon);
}

.text-neon {
  color: var(--neon);
}

/* Ícones Sociais */
.social-links {
  display: flex;
  gap: 15px;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--fundo-principal);
  border: 1px solid #1e293b;
  color: var(--cor-texto);
  text-decoration: none;
  font-size: 1.1rem;
  transition: all 0.3s ease;
}

.social-links a:hover {
  border-color: var(--neon);
  color: var(--neon);
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.3);
  transform: translateY(-3px);
}

/* Títulos das Colunas */
.footer-col h3 {
  color: var(--cor-texto);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 20px;
}

/* Links das Colunas */
.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: var(--cor-texto-sub);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--neon);
}

/* Linha de Copyright Inferior */
.footer-bottom {
  border-top: 1px solid #1e293b;
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
  color: var(--cor-texto-sub);
  font-family: var(--fonte-code);
  font-size: 0.85rem;
}

/* Ajuste Responsivo para Celular */
@media (max-width: 768px) {
  .footer-grid {
    flex-direction: column;
    gap: 30px;
  }

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

/* EFEITO TYPEWRITER */
.highlight {
  color: var(--neon);
}

.typewriter-text {
  color: var(--neon);
  border-bottom: 2px solid var(--neon);
}

.cursor {
  color: var(--neon);
  font-weight: 300;
  animation: piscar 0.7s infinite;
}

@keyframes piscar {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0;
  }
}

.whatsapp-glow-spinner {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  overflow: hidden;
  background: var(--fundo-card);
  border: 1px solid rgba(0, 240, 255, 0.2);
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.whatsapp-glow-content {
  position: absolute;
  inset: 2px;
  background: #0d1726;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  color: var(--neon);
}

.whatsapp-icon {
  width: 28px;
  height: 28px;
}

.glow-spinner-ring {
  position: absolute;
  width: 100%;
  height: 100%;
  background: conic-gradient(from 0deg, transparent 0%, var(--neon) 50%, transparent 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
}

/* Animação ao passar o mouse */
.whatsapp-glow-spinner:hover {
  transform: scale(1.1);
  border-color: transparent;
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.4);
}

.whatsapp-glow-spinner:hover .glow-spinner-ring {
  opacity: 1;
  animation: spinGlow 1.5s linear infinite;
}

@keyframes spinGlow {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/* ==========================================================================
   FAQ — EFEITO REACT BITS (SPOTLIGHT GRID & HIGH CONTRAST)
   ========================================================================== */
.faq {
  padding: 110px 0;
  position: relative;
  background-color: #03070d;
  /* Preto profundo para quebrar o tom dos serviços */
  overflow: hidden;
  text-align: center;
  border-top: 1px solid rgba(0, 240, 255, 0.2);
  border-bottom: 1px solid rgba(0, 240, 255, 0.2);
}

.relative-z {
  position: relative;
  z-index: 2;
}

/* 1. Holofote Ciano do React Bits */
.faq-spotlight-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0, 240, 255, 0.15) 0%, rgba(0, 240, 255, 0) 70%);
  pointer-events: none;
  z-index: 1;
  animation: pulseGlow 6s ease-in-out infinite alternate;
}

@keyframes pulseGlow {
  0% {
    opacity: 0.4;
    transform: translate(-50%, -50%) scale(0.8);
  }

  100% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.2);
  }
}

/* 2. Malha Geométrica */
.faq-grid-pattern {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(to right, rgba(0, 240, 255, 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0, 240, 255, 0.05) 1px, transparent 1px);
  background-size: 35px 35px;
  mask-image: radial-gradient(circle at center, black 40%, transparent 80%);
  -webkit-mask-image: radial-gradient(circle at center, black 40%, transparent 80%);
  pointer-events: none;
  z-index: 1;
}

.faq-container {
  max-width: 800px;
  margin: 45px auto 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Cards Glassmorphism sobre o fundo escuro */
.faq-item {
  background: rgba(13, 23, 38, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(0, 240, 255, 0.18);
  border-radius: 14px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item:hover {
  border-color: rgba(0, 240, 255, 0.5);
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.15);
  transform: translateY(-2px);
}

.faq-item.active {
  border-color: var(--neon);
  box-shadow: 0 0 30px rgba(0, 240, 255, 0.25);
  background: rgba(13, 23, 38, 0.95);
}

.faq-question {
  width: 100%;
  padding: 22px 30px;
  background: none;
  border: none;
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 600;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: color 0.3s ease;
}

.faq-question:hover {
  color: var(--neon);
}

.faq-icon {
  color: var(--neon);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  background-color: rgba(3, 7, 13, 0.6);
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding: 0 30px 24px 30px;
}

.faq-answer p {
  color: var(--cor-texto-sub);
  font-size: 0.95rem;
  line-height: 1.65;
  text-align: left;
  margin: 0;
}

/* ==========================================================================
   EFEITO DE ENTRADA SUAVE NA ROLAGEM (SCROLL REVEAL)
   ========================================================================== */

/* Estado inicial: elementos ficam invisíveis e 40px abaixo */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

/* Estado ativo: fica visível e volta para a posição original */
.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Atraso em cascata para os elementos da Hero */
.hero-logo.reveal {
  transition-delay: 0.1s;
}

.hero h1.reveal {
  transition-delay: 0.2s;
}

.hero p.reveal {
  transition-delay: 0.3s;
}

.hero .btn-primary.reveal {
  transition-delay: 0.4s;
}

/* Atraso em cascata para os Cards de Serviços */
.cards-grid .card:nth-child(1).reveal {
  transition-delay: 0.1s;
}

.cards-grid .card:nth-child(2).reveal {
  transition-delay: 0.25s;
}

.cards-grid .card:nth-child(3).reveal {
  transition-delay: 0.4s;
}

/* AJUSTE PARA TELAS MENORES / CELULAR */
@media (max-width: 768px) {
  .hero-logo img {
    max-width: 220px;
  }

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