/* ============================= */
/* 🎨 VARIÁVEIS GLOBAIS          */
/* ============================= */

/* O :root é como o "nível mais alto" do documento.
   Todas as variáveis declaradas aqui podem ser reutilizadas em qualquer parte do CSS.
   Convenção: nomes sempre começam com "--" */
:root {
  --brand: #0025cc;        /* Cor principal - usada em links, botões e elementos de destaque */
  --brand-2: #0e74c5;      /* Cor secundária - variação da principal, útil para hovers/gradientes */
  --text: #173b57;         /* Cor padrão para textos principais */
  --bg-light: #f9fbfe;     /* Fundo claro - seções com contraste suave */
  --border-light: #e9eef5; /* Cor usada em bordas discretas/divisórias */
  --footer-bg: #0b1e2f;    /* Fundo escuro do rodapé */
  --footer-text: #c8d2dc;  /* Texto do rodapé - contraste com fundo escuro */
  
  --default-color: #212529; /* Cor neutra padrão para textos/ícones */
  --contrast-color: #ffffff; /* Cor de contraste (normalmente branco) */
  --accent-color: #0d6efd;   /* Cor de destaque - botões primários, links importantes */
}

/* ============================= */
/* 🌐 BASE DO SITE               */
/* ============================= */

/* Reset básico: 
   - Remove margens/paddings padrões dos navegadores
   - Define box-sizing como border-box (melhor para layouts responsivos)
*/
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Estilo global do corpo da página */
body {
  font-family: 'Open Sans', sans-serif; /* Fonte principal do site */
  color: var(--text); /* Usa a cor de texto definida nas variáveis globais */
  margin: 0; /* Remove espaçamento padrão do body */
  background-color: #fff; /* Fundo branco como base */
}

/* Links padrão */
a {
  color: var(--brand); /* Cor principal da identidade visual */
  text-decoration: none; /* Remove sublinhado */
  transition: 0.3s; /* Transição suave (para hover/active) */
}

/* Estilo da logo (quando for imagem) */
.logo-img {
  height: 70px; /* Define altura padrão */
  width: auto;  /* Mantém proporção da imagem */
}


/* Nome da marca/empresa (quando for texto) */
.sitename {
  font-weight: bold;      /* Negrito */
  font-size: 1.25rem;     /* Tamanho médio (20px aprox.) */
  color: var(--brand);    /* Usa cor principal */
}


/* ============================= */
/* 🟦 BOTÕES                     */
/* ============================= */

/* 🔹 Botão padrão da marca */
.btn-brand {
  background-color: var(--brand); /* Fundo na cor principal */
  border: none;
  color: white; /* Texto branco */
  transition: 0.3s; /* Suavidade ao passar o mouse */
}
/* Hover muda para cor secundária */
.btn-brand:hover { background-color: var(--brand-2); }


/* ✨ Botão com efeito de brilho */
.shine-button {
  width: 300px;
  padding: 0.75rem 1.5rem;
  background: linear-gradient(135deg, #0025cc 0%, #0e74c5 100%);
  color: white;
  border: none;
  border-radius: 12px;
  font-size: 0.8rem;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap; /* Evita quebra de texto */
  position: relative;
  overflow: hidden;
}

/* Brilho que “varre” o botão no hover (shine effect). */
.shine-button::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s ease;
}

/* Ao pairar: o brilho atravessa o botão de esquerda para direita. */
.shine-button:hover::before { left: 100%; }

/* Elevação e sombra no hover para reforçar ação. */
.shine-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(102, 126, 234, 0.4);
  color: rgb(255, 255, 255); /* Exemplo: muda o texto para amarelo */
}

/* Links estilizados com animação de linhas */
.btn-2 {
  position: relative;
  display: inline-block;
  padding: 0.5rem 0;
  color: var(--brand);
  font-weight: 600;
  transition: letter-spacing 0.3s ease;
}
/* Ao passar o mouse: aumenta espaçamento entre letras */
.btn-2:hover,
.btn-2:active {
  letter-spacing: 3px;
}
/* Linhas superiores e inferiores animadas */
.btn-2::before,
.btn-2::after {
  content: "";
  position: absolute;
  left: 50%;
  width: 0; /* Inicia invisível */
  height: 2px;
  background-color: var(--brand);
  transition: all 0.3s ease-in-out;
  transform: translateX(-50%);
}
.btn-2::before { top: 0; }
.btn-2::after { bottom: 0; }
/* Expande linhas no hover */
.btn-2:hover::before,
.btn-2:hover::after {
  width: 70%;
}
/* Corrige cor de links do menu */
.nav-link.btn-2:hover { color: var(--brand) !important; }


/* 🔘 Botão CTA (Call To Action) com setas animadas */
.cta {
  display: inline-flex;
  align-items: center;
  padding: 12px 25px;
  font-family: 'Poppins', sans-serif;
  font-size: 20px;
  color: #fff;
  background: var(--brand);
  transform: skewX(-15deg); /* Efeito inclinado */
  box-shadow: 6px 6px 0 #00c8ff; /* Sombra em tom vibrante */
  border-radius: 4px;
  position: relative;
}
/* Corrige o texto para não ficar inclinado */
.cta span { transform: skewX(15deg); }

/* Segunda parte do botão = área das setas */
.cta span:nth-child(2) {
  margin-left: 20px;
  display: flex;
  align-items: center;
  overflow: hidden;
  width: 30px; /* Inicialmente só 1 seta aparece */
  transition: width 0.3s ease;
}
/* Ao passar o mouse: revela mais setas */
.cta:hover span:nth-child(2) { width: 66px; }

/* Configuração das setas em SVG */
.cta svg path { 
  fill: #fff; 
  opacity: 0; /* Escondidas inicialmente */
  transition: 0.3s; 
}
.cta path.three { opacity: 1; } /* A terceira seta já aparece */

/* Hover: ativa todas as setas */
.cta:hover path { opacity: 1; }

/* Animação de "flicker" (piscar) para setas */
.cta:hover path.three { animation: flicker 1.2s infinite; }
.cta:hover path.two   { animation: flicker 1.2s infinite; animation-delay: 0.2s; }
.cta:hover path.one   { animation: flicker 1.2s infinite; animation-delay: 0.4s; }

/* ============================= */
/* 🦸 HERO                       */
/* ============================= */

/* Área principal do hero */
.hero {
  width: 100%;
  min-height: 100vh; /* ocupa a altura inteira da tela */
  position: relative;
  padding: 40px 0;
  display: flex;
  align-items: center; /* centraliza verticalmente o conteúdo */
  background: url(../images/hero-bg.png) top center no-repeat; /* imagem de fundo */
  background-size: cover; /* faz a imagem cobrir toda a área */
}

/* Título principal do hero */
.hero h1 {
  margin: 0;
  font-size: 48px;   /* grande e chamativo */
  font-weight: 700;  /* negrito */
  line-height: 56px; /* altura da linha */
}

/* Texto descritivo do hero */
.hero p {
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  /* cor mais suave, mistura default-color com transparência */
  margin: 5px 0 30px 0;
  font-size: 20px;
  font-weight: 400;
}

/* Botão principal do hero (call-to-action) */
.hero .btn-get-started {
  color: var(--contrast-color);   /* texto branco */
  background: var(--accent-color); /* fundo azul destacado */
  font-family: var(--heading-font);
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 40px;
  border-radius: 4px;
  transition: 0.5s;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.1); /* sombra suave */
}

/* Ícone dentro do botão */
.hero .btn-get-started i {
  margin-left: 5px; /* espaçamento entre texto e ícone */
  font-size: 18px;
  transition: 0.3s;
}

/* Efeitos de hover no botão */
.hero .btn-get-started:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 15%);
}
.hero .btn-get-started:hover i {
  transform: translateX(5px); /* ícone desliza para a direita */
}

/* 🎞️ Animação flutuante aplicada em imagens */
.hero .animated {
  animation: up-down 2s ease-in-out infinite alternate-reverse both;
}

/* 🔄 Animação de sobe e desce suave */
@keyframes up-down {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px); /* altura do movimento */
  }
  100% {
    transform: translateY(0);
  }
}

.hero .animated {
  animation: up-down 4s ease-in-out infinite; /* tempo e suavidade */
}

/* ============================= */
/* 📐 SEÇÃO ABOUT                */
/* ============================= */

/* Âncora de rolagem suave: garante que, ao navegar para #about,
   o topo da seção fique visível abaixo de um header fixo.
   Ajuste o valor à altura real do seu header (em px). */
#about {
  scroll-margin-top: 60px; /* ou até 180px, dependendo da altura do header */
}
/* Bloco genérico de seção:
   - Espaçamento vertical amplo (topo e base)
   - Ocupa pelo menos a altura da viewport
   - Usa Flexbox em coluna para empilhar título, conteúdo etc. */
.section {
  padding: 80px 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Cabeçalho da seção centralizado, com espaçamento inferior
   para separar do conteúdo principal. */
.section-title {
  text-align: center;
  margin-bottom: 80px;
}

/* Título principal da seção:
   - Tamanho grande e peso forte
   - Cor padrão do tema
   - position: relative para ancorar o pseudo-elemento decorativo (::after). */
.section-title h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--default-color);
  margin-bottom: 20px;
  position: relative;
}

/* Linha decorativa sob o título:
   - Centralizada via left:50% + translateX(-50%)
   - Largura e espessura definidas
   - Usa a cor de destaque do tema. */
.section-title h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--accent-color);
}

/* Parágrafo introdutório da seção:
   - Usa color-mix para suavizar a cor padrão com contraste (30%)
   - Limita largura para melhor legibilidade e centraliza com margin auto. */
.section-title p {
  font-size: 1.1rem;
  color: color-mix(in srgb, var(--default-color), var(--contrast-color) 30%);
  max-width: 600px;
  margin: 0 auto;
}

/* Subtítulo/heading dentro do bloco "about":
   - Maior que o texto normal, peso forte, cor padrão e espaçamento inferior. */
.about .content h3 {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--default-color);
  margin-bottom: 20px;
}

/* Texto em itálico/ênfase (classe utilitária .fst-italic):
   - Cor ainda mais suave usando color-mix (50%)
   - Levemente maior que o padrão, com respiro inferior. */
.about .content .fst-italic {
  color: color-mix(in srgb, var(--default-color), var(--contrast-color) 50%);
  font-size: 1.1rem;
  margin-bottom: 25px;
}

/* Lista de tópicos/benefícios:
   - Remove marcadores nativos
   - Zera padding e adiciona espaçamento inferior total. */
.about .content ul {
  list-style: none;
  padding: 0;
  margin-bottom: 25px;
}

/* Cada item da lista:
   - Padding superior para respiro entre itens
   - Layout em linha com flex para alinhar ícone + texto. */
.about .content ul li {
  padding: 10px 0 0 0;
  display: flex;
  align-items: flex-start;
}

/* Ícone do item de lista (geralmente <i>):
   - Cor de destaque
   - Margem à direita para afastar do texto
   - Tamanho levemente maior e pequeno ajuste no topo
   - line-height menor para melhor alinhamento vertical. */
.about .content ul i {
  color: var(--accent-color);
  margin-right: 0.5rem;
  line-height: 1.2;
  font-size: 1.25rem;
  margin-top: 2px;
}

/* Texto do item (envolto em <span>):
   - flex:1 para ocupar o espaço restante ao lado do ícone
   - line-height maior para leitura confortável. */
.about .content ul span {
  flex: 1;
  line-height: 1.6;
}

/* Último parágrafo do bloco "about":
   - Remove margem inferior final para evitar espaço extra
   - Mantém boa altura de linha. */
.about .content p:last-child {
  margin-bottom: 0;
  line-height: 1.6;
}

/* Imagem ilustrativa da seção:
   - Cantos arredondados e sombra suave
   - Animação suave ao transformar (hover)
   - Largura responsiva (80% até no máx. 400px)
   - Centraliza com margin: 0 auto e display:block. */
.about img {
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  width: 80%;
  max-width: 400px;
  margin: 0 auto;
  display: block;
}

/* Efeito de microinteração: a imagem “sobe” 5px ao hover. */
.about img:hover { transform: translateY(-5px); }

/* Área de conteúdo textual do "about":
   - Recuo à esquerda para separar da imagem (em telas largas)
   - Tamanho de fonte confortável para leitura. */
.about .content {
  padding-left: 30px;
  font-size: 1.1rem;
}


/* Responsividade para telas <= 991px:
   - Remove o recuo esquerdo (empilhamento vertical)
   - Adiciona margem superior para separar da imagem acima. */
@media (max-width: 991px) {
  .about .content {
    padding-left: 0;
    margin-top: 30px;
  }


  
}

/* Animações personalizadas:
   - Estado inicial “fora de cena” (opacidade 0 e deslocado para baixo)
   - Aplica a animação fadeInUp (definir @keyframes separadamente)
   - forwards mantém o estado final após a animação. */
.fade-in-up {
  opacity: 0;
  transform: translateY(50px);
  animation: fadeInUp 0.8s ease-out forwards;
}

/* Utilitário de atraso: permite escalonar entradas
   (ex.: .fade-in-up.delay-100 para entrar 0.1s depois). */
.fade-in-up.delay-100 { animation-delay: 0.1s; }



/* SEÇÃO DE SERVIÇOS */
#services {
  position: relative;
  padding: 80px 0;
  background: linear-gradient(135deg, #000814, #001d3d, #003566);
  min-height: 100vh;
  display: flex;
  align-items: center;
}

#services::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 25% 25%, rgba(0, 102, 255, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 75% 75%, rgba(0, 212, 255, 0.1) 0%, transparent 50%),
    linear-gradient(45deg, transparent 48%, rgba(0, 102, 255, 0.05) 49%, rgba(0, 102, 255, 0.05) 51%, transparent 52%);
  z-index: 1;
}

#services::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(0, 212, 255, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  animation: pulse-tech 4s ease-in-out infinite;
  z-index: 1;
}

@keyframes pulse-tech {
  0%, 100% { transform: translate(-50%, -50%) scale(1); }
  50% { transform: translate(-50%, -50%) scale(1.2); }
}

#services .container {
  position: relative;
  z-index: 2;
  width: 100%;
}

.services-title {
  font-size: 3.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, #0066ff, #00d4ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 0 30px rgba(0, 212, 255, 0.5);
  margin-bottom: 1.5rem;
  position: relative;
  color: #0066ff;
}

.services-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 3px;
  background: linear-gradient(135deg, #0066ff, #00d4ff);
  border-radius: 2px;
  box-shadow: 0 0 20px rgba(0, 212, 255, 0.5);
}

.services-subtitle {
  font-size: 1.3rem;
  color: #b3d9ff;
  margin-bottom: 3.5rem;
}

.services-subtitle .highlight {
  background: linear-gradient(135deg, #0066ff, #00d4ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 600;
  color: #00d4ff;
}

/* LINHA E COLUNAS */
#services .services-row {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}

#services .service-col {
  flex: 1 1 350px; /* cada card tenta ter 350px */
  max-width: 400px;
}

/* CARDS DE SERVIÇOS */
.service-card {
  background: rgba(0, 26, 77, 0.8);
  border: 1px solid rgba(0, 212, 255, 0.3);
  border-radius: 20px;
  backdrop-filter: blur(15px);
  transition: all 0.4s ease;
  position: relative;
  overflow: visible;
  box-shadow: 0 15px 35px rgba(0, 102, 255, 0.2);
  text-align: center;
  min-height: 520px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 3rem 2rem;
}

.service-card:hover {
  transform: translateY(-15px) scale(1.03);
  border-color: #00d4ff;
  box-shadow: 0 20px 40px rgba(0, 102, 255, 0.4), 0 0 30px rgba(0, 212, 255, 0.6);
}

.service-card i {
  color: #00d4ff;
  text-shadow: 0 0 20px rgba(0, 212, 255, 0.6);
  transition: all 0.5s ease;
  font-size: 5rem;
  margin-bottom: 2rem;
}

.service-card:hover i {
  transform: scale(1.15) rotateY(360deg);
  text-shadow: 0 0 40px rgba(0, 212, 255, 1);
}

.service-card h3 {
  font-weight: 700;
  color: #00d4ff;
  margin-bottom: 2rem;
  letter-spacing: 1.5px;
  font-size: 1.3rem;
  line-height: 1.4;
}

.service-card p {
  color: #cce7ff;
  font-size: 1.05rem;
  line-height: 1.7;
  margin: 0;
  padding: 0 1rem;
}

/* RESPONSIVIDADE */
@media (max-width: 991px) {
  #services .service-col {
    flex: 0 0 50%;   /* 2 por linha */
    max-width: 50%;
  }
}

@media (max-width: 576px) {
  #services .service-col {
    flex: 0 0 100%;  /* 1 por linha */
    max-width: 100%;
  }
}

    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    body {
      font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    }

    /* ============================= */
    /* SEÇÃO PORTFOLIO TECNOLÓGICA   */
    /* ============================= */

    .portfolio-section {
      position: relative;
      padding: 100px 0;
      background: linear-gradient(135deg, #000814, #001d3d, #003566);
      min-height: 100vh;
      overflow: hidden;
    }

    /* Efeitos de fundo tecnológico */
    .portfolio-section::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: 
        radial-gradient(circle at 25% 25%, rgba(0, 102, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(0, 212, 255, 0.1) 0%, transparent 50%),
        linear-gradient(45deg, transparent 48%, rgba(0, 102, 255, 0.05) 49%, rgba(0, 102, 255, 0.05) 51%, transparent 52%);
      z-index: 1;
    }

    .portfolio-section::after {
      content: '';
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      width: 300px;
      height: 300px;
      background: radial-gradient(circle, rgba(0, 212, 255, 0.15) 0%, transparent 70%);
      border-radius: 50%;
      animation: pulse-tech 4s ease-in-out infinite;
      z-index: 1;
    }

    @keyframes pulse-tech {
      0%, 100% { transform: translate(-50%, -50%) scale(1); }
      50% { transform: translate(-50%, -50%) scale(1.3); }
    }

    .portfolio-section .container {
      position: relative;
      z-index: 2;
    }

    /* Header do Portfólio */
    .portfolio-header {
      text-align: center;
      margin-bottom: 4rem;
    }

    .portfolio-title {
      font-size: 3.5rem;
      font-weight: 800;
      background: linear-gradient(135deg, #0066ff, #00d4ff);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
      text-shadow: 0 0 30px rgba(0, 212, 255, 0.5);
      margin-bottom: 1.5rem;
      position: relative;
      color: #0066ff;
    }

    .portfolio-title::after {
      content: '';
      position: absolute;
      bottom: -15px;
      left: 50%;
      transform: translateX(-50%);
      width: 100px;
      height: 3px;
      background: linear-gradient(135deg, #0066ff, #00d4ff);
      border-radius: 2px;
      box-shadow: 0 0 20px rgba(0, 212, 255, 0.5);
    }

    .portfolio-subtitle {
      font-size: 1.2rem;
      color: #b3d9ff;
      margin-bottom: 3rem;
      line-height: 1.8;
      max-width: 900px;
      margin-left: auto;
      margin-right: auto;
    }

    .portfolio-subtitle .highlight {
      background: linear-gradient(135deg, #0066ff, #00d4ff);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
      font-weight: 600;
      color: #00d4ff;
    }

    /* Filtros */
    .filter-buttons {
      display: flex;
      justify-content: center;
      gap: 15px;
      flex-wrap: wrap;
      margin-bottom: 3rem;
    }

    .filter-btn {
      padding: 12px 30px;
      border: 2px solid rgba(0, 212, 255, 0.3);
      background: rgba(0, 26, 77, 0.6);
      color: #b3d9ff;
      font-weight: 600;
      border-radius: 30px;
      cursor: pointer;
      transition: all 0.3s ease;
      backdrop-filter: blur(10px);
      font-size: 0.95rem;
      position: relative;
      overflow: hidden;
    }

    .filter-btn::before {
      content: '';
      position: absolute;
      top: 0;
      left: -100%;
      width: 100%;
      height: 100%;
      background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.2), transparent);
      transition: left 0.5s ease;
    }

    .filter-btn:hover::before {
      left: 100%;
    }

    .filter-btn:hover,
    .filter-btn.active {
      background: linear-gradient(135deg, #0066ff, #00d4ff);
      color: white;
      border-color: #00d4ff;
      transform: translateY(-2px);
      box-shadow: 0 8px 25px rgba(0, 102, 255, 0.4);
    }

    /* Grid do Portfólio */
    .portfolio-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
      gap: 30px;
      margin-top: 2rem;
    }

    /* Card do Portfólio */
    .portfolio-item {
      position: relative;
      border-radius: 20px;
      overflow: hidden;
      background: rgba(0, 26, 77, 0.6);
      border: 1px solid rgba(0, 212, 255, 0.3);
      transition: all 0.4s ease;
      box-shadow: 0 15px 35px rgba(0, 102, 255, 0.2);
      backdrop-filter: blur(15px);
    }

    .portfolio-item.hide {
      display: none;
    }

    .portfolio-item:hover {
      transform: translateY(-10px) scale(1.02);
      border-color: #00d4ff;
      box-shadow: 0 20px 50px rgba(0, 102, 255, 0.4), 0 0 30px rgba(0, 212, 255, 0.5);
    }

    /* Imagem */
    .portfolio-image {
      position: relative;
      overflow: hidden;
      height: 280px;
      background: rgba(0, 13, 38, 0.8);
    }

    .portfolio-image img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform 0.5s ease, opacity 0.3s ease;
      opacity: 0.9;
    }

    .portfolio-item:hover .portfolio-image img {
      transform: scale(1.1);
      opacity: 1;
    }

    /* Overlay */
    .portfolio-overlay {
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background: linear-gradient(135deg, rgba(0, 102, 255, 0.95) 0%, rgba(0, 13, 38, 0.95) 100%);
      display: flex;
      align-items: center;
      justify-content: center;
      opacity: 0;
      transition: all 0.4s ease;
      transform: translateY(20px);
    }

    .portfolio-item:hover .portfolio-overlay {
      opacity: 1;
      transform: translateY(0);
    }

    /* Informações */
    .portfolio-info {
      text-align: center;
      color: #fff;
      padding: 30px;
      transform: translateY(20px);
      transition: transform 0.4s ease 0.1s;
    }

    .portfolio-item:hover .portfolio-info {
      transform: translateY(0);
    }

    .portfolio-info h3 {
      font-size: 1.5rem;
      font-weight: 700;
      margin-bottom: 10px;
      color: #00d4ff;
      text-shadow: 0 0 20px rgba(0, 212, 255, 0.6);
    }

    .portfolio-info p {
      font-size: 1rem;
      color: #cce7ff;
      margin: 0;
    }

    /* Responsividade */
    @media (max-width: 768px) {
      .portfolio-section {
        padding: 60px 0;
      }

      .portfolio-title {
        font-size: 2.2rem;
      }

      .portfolio-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
      }

      .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 20px;
      }

      .filter-buttons {
        gap: 10px;
      }

      .filter-btn {
        padding: 10px 20px;
        font-size: 0.85rem;
      }
    }

    @media (max-width: 576px) {
      .portfolio-title {
        font-size: 1.8rem;
      }

      .portfolio-image {
        height: 220px;
      }
    }

/* ============================= */
/* 📐 SEÇÃO CONTACT - CORRIGIDA  */
/* ============================= */

.contact-container {
  min-height: 70vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  position: relative;
  overflow: hidden;
}

.info-section {
  background: linear-gradient(135deg, #2348ec 0%, #3c78d1 100%);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 4rem 3rem;
  color: white;
  overflow: hidden;
}

.info-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 200%;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
  animation: drift 30s linear infinite;
  opacity: 0.3;
}

.info-content {
  position: relative;
  z-index: 2;
  max-width: 500px;
  width: 100%;
}

.info-title {
  font-size: 3rem;
  font-weight: bold;
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  animation: slideInLeft 1s ease-out;
}

.info-subtitle {
  font-size: 1.2rem;
  margin-bottom: 3rem;
  opacity: 0.9;
  animation: slideInLeft 1s ease-out 0.2s both;
}

.contact-item {
  display: flex;
  align-items: center;
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
  animation: slideInLeft 1s ease-out calc(0.4s + var(--delay, 0s)) both;
}

.contact-item:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateX(10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.contact-icon {
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  margin-right: 1.5rem;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.contact-item:hover .contact-icon {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.1) rotate(5deg);
}

.contact-details h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.contact-details p {
  opacity: 0.9;
  font-size: 0.95rem;
  word-break: break-word;
}

.contact-details a {
  color: white;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.contact-details a:hover {
  opacity: 0.8;
}

/* Lado direito (formulário) */
.form-section {
  background: white;
  padding: 4rem 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.form-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #667eea, #0e74c5);
}

.form-section::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #667eea, #0e74c5);
}

.form-content {
  max-width: 500px;
  width: 100%;
}

.form-title {
  font-size: 2.5rem;
  color: #2d3748;
  margin-bottom: 1rem;
  font-weight: bold;
  animation: slideInRight 1s ease-out;
}

.form-subtitle {
  color: #718096;
  margin-bottom: 3rem;
  font-size: 1.1rem;
  animation: slideInRight 1s ease-out 0.2s both;
}

.form-group {
  margin-bottom: 1.5rem;
  position: relative;
  animation: slideInRight 1s ease-out calc(0.4s + var(--delay, 0s)) both;
}

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  color: #4a5568;
  font-weight: 500;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 1rem 1.5rem;
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  font-size: 1rem;
  transition: all 0.3s ease;
  background: #f7fafc;
  color: #2d3748;
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: #667eea;
  background: white;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
  transform: translateY(-2px);
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
  font-family: inherit;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.submit-btn {
  width: 100%;
  padding: 1.2rem 2rem;
  background: linear-gradient(135deg, #0025cc 0%, #0e74c5 100%);
  color: white;
  border: none;
  border-radius: 12px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 1rem;
  position: relative;
  overflow: hidden;
}

.submit-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s ease;
}

.submit-btn:hover::before {
  left: 100%;
}

.submit-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(102, 126, 234, 0.4);
}

.submit-btn:active {
  transform: translateY(-1px);
}

/* ============================= */
/* 📐 SEÇÃO FOOTER - CORRIGIDA   */
/* ============================= */

.footer {
  background: linear-gradient(135deg, #ffffff 0%, #ffffff 100%);
  color: #ffffff;
  padding: 30px 0 20px;
  position: relative;
  overflow: hidden;
  margin: 0 !important;
  border: none !important;
  display: block;
}

.footer::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 200%;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
  animation: drift 30s linear infinite;
  opacity: 0.3;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 2;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  justify-items: center;
  text-align: center;
  gap: 20px;
}

.footer .company-info {
  text-align: center;
  margin-bottom: 20px;
}

.company-info .logo-img {
  height: 70px;
  width: auto;
}

.company-info p {
  color: #0025cc;
  font-size: 0.95rem;
  margin: 0;
  opacity: 0.9;
}

.footer .social-section {
  text-align: center;
  margin-bottom: 20px;
}

.social-title {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  margin-top: 50px;
  color: #0025cc;
  font-weight: 600;
}

.social-icons {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  list-style: none;
  gap: 15px;
  padding: 0;
}

.social-icons li {
  position: relative;
  list-style: none;
  margin: 0 10px;
  cursor: pointer;
}

.social-icons li a {
  text-decoration: none;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
}

.social-icons li a .fa-brands,
.social-icons li a .fa-solid {
  font-size: 3.3em;
  color: #222;
}

.social-icons li a::before {
  font-family: "Font Awesome 6 Brands", "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  top: 0;
  width: 100%;
  font-size: 330%;
  display: flex;
  height: 0;
  justify-content: center;
  overflow: hidden;
  transition: 0.3s ease-in-out;
}

.social-icons li:nth-child(1) a::before {
  content: "\f16d";
  background-image: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  border-bottom: 3px solid #dc2743;
}

.social-icons li:nth-child(2) a::before {
  content: "\f09a";
  color: #1877F2;
  border-bottom: 3px solid #1877F2;
}

.social-icons li:nth-child(3) a::before {
  content: "\f232";
  color: #25D366;
  border-bottom: 3px solid #25D366;
}

.social-icons li:nth-child(4) a::before {
  content: "\f0e0";
  color: #ff0000;
  border-bottom: 3px solid #ff0000;
}

.social-icons li:nth-child(5) a::before {
  content: "\f099";
  color: #1DA1F2;
  border-bottom: 3px solid #1DA1F2;
}

.social-icons li:hover a::before {
  height: 100%;
}

.footer-info {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

.footer-bottom-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
}

.footer-bottom-links a {
  color: #0025cc;
  text-decoration: none;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  position: relative;
  padding: 2px 0;
}

.footer-bottom-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: #0025cc;
  transition: width 0.3s ease;
}

.footer-bottom-links a:hover {
  color: #0e74c5;
  transform: translateY(-1px);
}

.footer-bottom-links a:hover::after {
  width: 100%;
}

.copyright {
  color: #0025cc;
  font-size: 0.85rem;
  text-align: center;
}

/* ============================= */
/* 📱 MEDIA QUERIES - MOBILE     */
/* ============================= */

/* Tablets e dispositivos menores */
@media (max-width: 1024px) {
  .contact-container {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  
  /* Força a ordem: info-section primeiro, form-section depois */
  .info-section {
    order: 1;
    padding: 3rem 2rem;
  }
  
  .form-section {
    order: 2;
    padding: 3rem 2rem;
  }
  
  .info-title {
    font-size: 2.5rem;
  }
  
  .form-title {
    font-size: 2rem;
  }
}

/* Smartphones grandes */
@media (max-width: 768px) {
  .contact-container {
    grid-template-columns: 1fr;
  }
  
  .info-section {
    padding: 2.5rem 1.5rem;
  }
  
  .info-title {
    font-size: 2rem;
  }
  
  .info-subtitle {
    font-size: 1rem;
    margin-bottom: 2rem;
  }
  
  .contact-item {
    padding: 1.25rem;
    margin-bottom: 1.5rem;
  }
  
  .contact-icon {
    width: 45px;
    height: 45px;
    font-size: 1rem;
    margin-right: 1rem;
  }
  
  .contact-details h3 {
    font-size: 1rem;
  }
  
  .contact-details p {
    font-size: 0.9rem;
  }
  
  .form-section {
    padding: 2.5rem 1.5rem;
  }
  
  .form-title {
    font-size: 1.8rem;
  }
  
  .form-subtitle {
    font-size: 1rem;
    margin-bottom: 2rem;
  }
  
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  
  .form-input,
  .form-textarea {
    padding: 0.875rem 1.25rem;
    font-size: 0.95rem;
  }
  
  .submit-btn {
    padding: 1rem 1.5rem;
    font-size: 1rem;
  }
  
  /* Footer ajustes */
  .social-title {
    font-size: 1.1rem;
    margin-top: 30px;
  }
  
  .social-icons {
    gap: 10px;
  }
  
  .social-icons li {
    margin: 0 5px;
  }
  
  .social-icons li a {
    width: 65px;
    height: 65px;
  }
  
  .social-icons li a .fa-brands,
  .social-icons li a .fa-solid {
    font-size: 2.5em;
  }
  
  .social-icons li a::before {
    font-size: 250%;
  }
  
  .footer-bottom-links {
    gap: 10px;
  }
  
  .footer-bottom-links a {
    font-size: 0.85rem;
  }
  
  .copyright {
    font-size: 0.8rem;
  }
}

/* Smartphones pequenos */
@media (max-width: 480px) {
  .info-section {
    padding: 2rem 1rem;
  }
  
  .info-title {
    font-size: 1.75rem;
    margin-bottom: 1rem;
  }
  
  .info-subtitle {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
  }
  
  .contact-item {
    flex-direction: column;
    text-align: center;
    padding: 1rem;
  }
  
  .contact-icon {
    margin-right: 0;
    margin-bottom: 0.75rem;
    width: 50px;
    height: 50px;
  }
  
  .contact-details h3 {
    font-size: 0.95rem;
  }
  
  .contact-details p {
    font-size: 0.85rem;
  }
  
  .form-section {
    padding: 2rem 1rem;
  }
  
  .form-title {
    font-size: 1.5rem;
  }
  
  .form-subtitle {
    font-size: 0.9rem;
  }
  
  .form-label {
    font-size: 0.8rem;
  }
  
  .form-input,
  .form-textarea {
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
  }
  
  .form-textarea {
    min-height: 100px;
  }
  
  .submit-btn {
    padding: 0.875rem 1.25rem;
    font-size: 0.95rem;
  }
  
  /* Footer ajustes mobile pequeno */
  .company-info .logo-img {
    height: 55px;
  }
  
  .social-title {
    font-size: 1rem;
    margin-top: 20px;
  }
  
  .social-icons {
    gap: 8px;
  }
  
  .social-icons li {
    margin: 0 3px;
  }
  
  .social-icons li a {
    width: 55px;
    height: 55px;
  }
  
  .social-icons li a .fa-brands,
  .social-icons li a .fa-solid {
    font-size: 2em;
  }
  
  .social-icons li a::before {
    font-size: 200%;
  }
  
  .footer-bottom-links {
    flex-direction: column;
    gap: 8px;
  }
  
  .footer-bottom-links a {
    font-size: 0.8rem;
  }
  
  .copyright {
    font-size: 0.75rem;
    margin-top: 10px;
  }
}

/* Dispositivos muito pequenos */
@media (max-width: 360px) {
  .info-title {
    font-size: 1.5rem;
  }
  
  .form-title {
    font-size: 1.35rem;
  }
  
  .social-icons li a {
    width: 50px;
    height: 50px;
  }
  
  .social-icons li a .fa-brands,
  .social-icons li a .fa-solid {
    font-size: 1.8em;
  }
}