/* =========================
   VARIÁVEIS GERAIS / RESET
   ========================= */
:root {
  --color-bg: hsl(216, 73%, 10%);
  --color-primary: #1c5a74;
  --color-accent: #6ec1e4;
  --color-text-main: #f5f5f5;
  --color-text-muted: #c2c7d1;
  --color-border-soft: rgba(255, 255, 255, 0.06);

  --radius-xl: 999px;
  --radius-lg: 18px;
  --shadow-soft: 0 18px 40px rgba(0, 0, 0, 0.35);

  --transition-fast: 0.2s ease-out;
  --transition-med: 0.3s ease-out;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  height: 100%;
}

body {
  margin: 0;
  font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  
  
  background: radial-gradient(circle at top left, #0b2b3b 0, #07152a 45%, #040710 100%);
  background-attachment: fixed; 
  background-repeat: no-repeat; 
  
  color: var(--color-text-main);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex-grow: 1; 
}

/* Container genérico */
.container {
  width: min(1120px, 100% - 3rem);
  margin-inline: auto;
}

a {
  text-decoration: none;
  color: inherit;
}

/* ====================
   HEADER MODERNO BRANCT
==================== */

.site-header {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 1000;
  background: transparent;
  backdrop-filter: none;
  border-bottom: none;
  transition: background .3s ease, box-shadow .3s ease;
}

.site-header.scrolled {
  background: rgba(7, 21, 42, 0.82);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 3rem;
  padding: 1rem 3rem; 
  width: 100%;
}

/* LOGO */
.logo-img {
  height: 38px;
  width: auto;
  filter: drop-shadow(0px 0px 6px rgba(255,255,255,0.15));
}

/* MENU NAVIGATION */
.nav-list {
  display: flex;
  justify-content: center;
  gap: 2rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.nav-list a {
  font-size: 0.95rem;
  text-transform: uppercase;
  color: #cfd9e6;
  letter-spacing: .12em;
  position: relative;
  padding-bottom: 3px;
  transition: color .2s ease;
}

.nav-list a:hover {
  color: #ffffff;
}

.nav-list a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  height: 2px;
  width: 0;
  background: linear-gradient(90deg,#6ec1e4,#1c5a74);
  transition: width .25s ease;
}

.nav-list a:hover::after {
  width: 100%;
}

/* CTA NO HEADER */
.btn-header-cta {
  padding: .6rem 1.5rem;
  border-radius: 50px;
  font-size: 0.9rem;
  background: linear-gradient(90deg, #6ec1e4, #1c5a74);
  color: #04121c;
  font-weight: 600;
  box-shadow: 0 8px 20px rgba(0,0,0,0.35);
  transition: .2s ease;
}

.btn-header-cta:hover {
  transform: translateY(-3px);
  filter: brightness(1.1);
}

/* MOBILE */
.nav-toggle {
  display: none;
}

/* MOBILE RESPONSIVE */
@media (max-width: 900px) {
  .header-inner {
    grid-template-columns: auto auto;
  }

  .btn-header-cta {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
    flex-direction: column;
    gap: .3rem;
    cursor: pointer;
    border: none;
    background: none;
  }

  .nav-toggle span {
    width: 22px;
    height: 2px;
    background: white;
    border-radius: 3px;
  }

  .main-nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    background: rgba(7, 21, 42, 0.98);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: .3s ease;
  }

  .main-nav.open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .nav-list {
    flex-direction: column;
    padding: 1rem 2rem;
  }
}

/* ===============================
   HERO BRANCT - SETUP PRINCIPAL
================================== */
.hero-section {
  position: relative;
  width: 100%;
  min-height: 100vh; 
  display: flex;
  align-items: center; 
  justify-content: flex-start; 
  overflow: hidden;
}

.hero-bg-wrapper {
  position: absolute;
  inset: 0;
  z-index: 0;
  height: 100%;
  width: 100%;
}

/* A Imagem em si (Otimizada para Nitidez) */
.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Garante que preenche sem distorcer a proporção */
  
  /* MUDANÇA CHAVE 1: Foco Central Superior */
  /* Isso foca no monitor e no topo das linhas de fluxo, que é a parte mais nítida */
  object-position: center top; 
  
  /* MUDANÇA CHAVE 2: Renderização de Imagem Nítida */
  /* Isso diz ao navegador para priorizar as bordas nítidas em vez de suavizar */
  image-rendering: -webkit-optimize-contrast; /* Para Safari/Chrome */
  image-rendering: crisp-edges; /* Padrão moderno */
  
  /* MUDANÇA CHAVE 3: Animação Mais Sutil */
  /* Um zoom muito grande pode embaçar. Vamos reduzir a escala da animação. */
  animation: subtleBreath 20s ease-in-out infinite alternate;
}

/* Nova animação de "respiro" mais leve para manter a nitidez */
@keyframes subtleBreath {
  0% { transform: scale(1); }
  100% { transform: scale(1.02); } /* Zoom de apenas 2%, quase imperceptível mas vivo */
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  /* O segredo está aqui: usamos 'transparent' no final para limpar a neblina */
  background: linear-gradient(
    90deg, 
    rgba(4, 7, 16, 0.95) 0%,  /* 95% escuro na esquerda (atrás do texto) */
    rgba(4, 7, 16, 0.4) 40%,  /* Começa a clarear no meio */
    transparent 85%           /* 100% transparente na direita (monitor nítido!) */
  );
  /* Blend mode ajuda a integrar melhor o escuro sem parecer uma película cinza */
  mix-blend-mode: multiply; 
}
/* ==========================================
   HERO CONTENT & ANIMATIONS (CORRIGIDO)
========================================== */

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 620px; 
  text-align: left; 
  
  margin-right: auto; 
  
  margin-left: 10%; 
  
  padding-left: 0; 
  
  /* Animação de flutuar */
  animation: floatHero 6s ease-in-out infinite;
}

@media (max-width: 900px) {
  .hero-content {
    margin-left: 5%; 
    max-width: 90%;
  }
}

@media (max-width: 520px) {
  .hero-content {
    margin-left: auto; 
    margin-right: auto;
    text-align: center; 
    padding-inline: 1.5rem;
  }
}
/* ADICIONE ISSO PARA O TÍTULO H1 */
.hero-title {
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.2;
  color: #ffffff;
  text-shadow: 0 0 12px rgba(110, 193, 228, 0.15);
  
  /* O ajuste fino que deixa premium: */
  letter-spacing: -0.02em; 
}
.hero-title,
.hero-title span {
  opacity: 0;
  transform: translateY(25px);
  animation: heroFadeSlide 1.2s ease-out forwards;
}

.hero-title span {
  font-size: 1.8rem; /* Reapliquei o tamanho do span que estava no HTML original */
  font-weight: 300;
  margin-top: 0.7rem;
  display: inline-block;
  color: #6ec1e4;
  
  /* Animações combinadas */
  animation: heroFadeSlide 1.2s ease-out forwards,
             glowPulse 5s ease-in-out infinite;
  animation-delay: 0.35s; /* Delay apenas para o span */
}

/* KEYFRAMES */
@keyframes heroFadeSlide {
  0% {
    opacity: 0;
    transform: translateY(25px);
    letter-spacing: 0.8px;
  }
  60% {
    opacity: 1;
    transform: translateY(0);
    letter-spacing: 0.2px;
  }
  100% {
    opacity: 1;
    transform: translateY(0);
    letter-spacing: 0px;
  }
}

@keyframes floatHero {
  0%   { transform: translateY(0); }
  50%  { transform: translateY(-6px); }
  100% { transform: translateY(0); }
}

@keyframes glowPulse {
  0%, 100% { text-shadow: 0 0 6px rgba(110,193,228,0.25); }
  50%     { text-shadow: 0 0 14px rgba(110,193,228,0.35); }
}

/* Responsivo Hero */
@media (max-width: 900px) {
  .hero-title {
    font-size: 2.4rem;
  }
  .hero-title span {
    font-size: 1.4rem;
  }
  .hero-content {
    padding-left: 2rem; /* Reduzi um pouco para mobile */
  }
}

@media (max-width: 520px) {
  .hero-title {
    font-size: 2rem;
  }
  .hero-title span {
    font-size: 1.2rem;
  }
  .hero-content {
     padding-left: 1.5rem;
  }
}


/* ================================
   ABOUT SECTION — FINAL PROPORTION (V 3.3)
=================================== */

.section-about {
  padding: 8rem 0 10rem; /* Mais respiro vertical */
  position: relative;
}

.section-about::before {
  content: "";
  position: absolute;
  width: 900px; /* Luz um pouco maior */
  height: 900px;
  left: -200px;
  top: -200px;
  border-radius: 50%;
  filter: blur(130px); 
  background: radial-gradient(circle, rgba(110, 193, 228, 0.12) 0%, rgba(110, 193, 228, 0) 70%);
  opacity: 0.5;
  pointer-events: none;
  z-index: 0;
}

.about-wrapper {
  position: relative;
  z-index: 1;
  display: grid;
  /* MUDANÇA CHAVE: Grid 1.2fr (Texto) vs 0.8fr (Imagem).
     Damos 60% do espaço para o texto para ele ficar "mais baixo" e alinhar melhor. */
  grid-template-columns: 1.2fr 0.8fr; 
  gap: 5rem;
  align-items: center; /* Mantém centro vertical */
}

/* === TEXTO === */
.text-box {
  /* Removemos a trava de largura para aproveitar o grid novo */
  width: 100%; 
  max-width: none; 
  padding-right: 2rem; /* Pequeno respiro para não colar na imagem */
}

.tagline {
  letter-spacing: 0.2em; 
  font-size: 0.8rem;
  color: #6ec1e4;
  opacity: 0.9;
  margin-bottom: 1rem;
  text-transform: uppercase;
  font-weight: 600; 
  display: block;
}

.text-box h2 {
  font-size: 3rem; /* Título levemente maior para impacto */
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 2rem;
  color: #fff;
  position: relative;
  padding-bottom: 1rem;
}

/* A linha decorativa abaixo do título */
.text-box h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 80px;
  height: 4px;
  border-radius: 4px;
  background: linear-gradient(90deg, #6ec1e4, #1c5a74);
}

.text-box p {
  font-size: 1.05rem; 
  line-height: 1.7;
  margin-bottom: 1.5rem;
  color: #c2c7d1;
  max-width: 95%; /* Garante que as linhas não fiquem longas demais cansando a vista */
}

/* === IMAGEM === */
.image-box {
  width: 100%;
  /* A imagem ocupa toda a coluna dela */
  aspect-ratio: 1 / 1; 
  border-radius: 24px;
  overflow: hidden;
  background: #040710; /* Fundo escuro para caso a imagem demore a carregar */
  box-shadow: 0 50px 100px -20px rgba(0, 0, 0, 0.7); /* Sombra mais difusa */
  border: 1px solid rgba(255,255,255,0.05); /* Borda sutil premium */
  position: relative;
}

.image-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.7s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.image-box:hover img {
  transform: scale(1.05);
}

/* === RESPONSIVO === */
@media (max-width: 1024px) {
  .about-wrapper {
    grid-template-columns: 1fr; /* Volta para coluna única no tablet */
    gap: 4rem;
    text-align: left; /* Mantive esquerda pois é mais fácil de ler texto longo */
  }

  .text-box {
    padding-right: 0;
    max-width: 100%;
  }
  
  .text-box h2::after {
    /* No mobile pode centralizar se quiser, mas esquerda é mais seguro */
    left: 0; 
  }

  .image-box {
    max-width: 500px; /* Limita tamanho da imagem no mobile */
    margin: 0 auto;
  }
}

/* ==========================
   SEÇÃO DE SERVIÇOS
========================== */

.section-services {
  padding-block: 8rem;
}

.services-grid {
  display: grid;
  gap: 2.5rem;
  max-width: 1200px;
  margin: 0 auto;
  grid-template-columns: 1fr; /* Mobile default */
}

/* ========= DESKTOP – layout “colmeia” ========= */
@media (min-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
  .service-card:nth-child(1) { grid-column: 1 / span 2; }
  .service-card:nth-child(2) { grid-column: 3 / span 2; }
  .service-card:nth-child(3) { grid-column: 5 / span 2; }
  .service-card:nth-child(4) { grid-column: 2 / span 2; }
  .service-card:nth-child(5) { grid-column: 4 / span 2; }
}

/* ========= TABLET ========= */
@media (max-width: 1023px) and (min-width: 651px) {
  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .service-card {
    grid-column: auto !important;
  }
}

/* ==========================
       SEÇÃO DE SERVIÇOS (PREMIUM NEON V3)
========================== */

/* 1. O CARD PRINCIPAL */
.service-card {
  width: 100%;
  /* Fundo sutil estilo vidro escuro */
  background: rgba(8, 24, 43, 0.4); 
  border: 1px solid rgba(110, 193, 228, 0.08);
  padding: 2.4rem;
  border-radius: 20px;
  transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
  color: #f5f9ff;
  position: relative;
  overflow: hidden; /* Garante que nada saia do card */
}

/* 2. O CONTAINER DO ÍCONE (O "GRID" QUADRADO) */
.service-icon {
  width: 80px;
  height: 80px;
  
  /* Flexbox para centralizar o SVG perfeitamente no meio do quadrado */
  display: flex;
  align-items: center;
  justify-content: center;
  
  /* Estilo inicial da caixa (apagada) */
  background: rgba(4, 7, 16, 0.5); /* Fundo bem escuro */
  border: 1px solid rgba(110, 193, 228, 0.1); /* Borda quase invisível */
  border-radius: 16px;
  margin-bottom: 1.8rem;
  transition: all 0.3s ease;
}

/* 3. O ÍCONE SVG (O DESENHO DE LINHA) */
.service-svg-icon {
  width: 52px; /* Tamanho um pouco menor para caber bem na caixa */
  height: 52px;
  stroke: #5a9bbd; /* Cor inicial mais apagada (azul acinzentado) */
  fill: none;
  transition: all 0.3s ease;
  /* Brilho inicial muito sutil */
  filter: drop-shadow(0 0 2px rgba(110, 193, 228, 0.3));
}

/* 4. TEXTOS */
.service-card h3 {
  font-size: 1.35rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: #ffffff;
  transition: color 0.3s ease;
}

.service-card p {
  color: #94a3b8;
  font-size: 0.95rem;
  line-height: 1.6;
  transition: color 0.3s ease;
}
/* ==========================
   IDLE ANIMATION (ÍCONES VIVOS)
========================== */

@keyframes idleNeon {
  0%, 100% { filter: drop-shadow(0 0 2px rgba(110, 193, 228, 0.3)); }
  50%      { filter: drop-shadow(0 0 6px rgba(110, 193, 228, 0.6)); }
}

/* Aplica a animação apenas quando NÃO estiver com o mouse em cima */
.service-card:not(:hover) .service-svg-icon {
  animation: idleNeon 4s ease-in-out infinite;
}
/* ==========================
   HOVER EFFECTS (A MÁGICA DA SELEÇÃO)
========================== */

/* Quando passa o mouse no CARD... */
.service-card:hover {
  /* O card sobe */
  transform: translateY(-8px);
  /* A borda do card acende */
  border-color: #6EC1E4;
  /* O fundo do card fica ligeiramente mais claro */
  background: rgba(8, 24, 43, 0.7);
  /* Sombra/Glow externo no card */
  box-shadow: 0 10px 40px -10px rgba(110, 193, 228, 0.3);
}

/* ...A CAIXA DO ÍCONE ("GRID") ACENDE... */
.service-card:hover .service-icon {
  background: rgba(110, 193, 228, 0.15); /* Fundo azulado */
  border-color: #6EC1E4; /* Borda neon */
  box-shadow: 0 0 25px rgba(110, 193, 228, 0.25); /* Glow na caixa */
}

/* ...E O ÍCONE SVG BRILHA FORTE */
.service-card:hover .service-svg-icon {
  stroke: #ffffff; /* Linha fica branca para contraste máximo */
  transform: scale(1.05); /* Cresce um pouquinho */
  /* Brilho neon intenso duplo */
  filter: drop-shadow(0 0 8px rgba(110, 193, 228, 1)) 
          drop-shadow(0 0 20px rgba(110, 193, 228, 0.6));
}

/* ============================
   REVEAL ON SCROLL
=============================== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.9s ease-out, transform 0.9s ease-out;
}

.reveal-left { transform: translateX(-40px); }
.reveal-right { transform: translateX(40px); }

.reveal-visible {
  opacity: 1;
  transform: translateX(0) translateY(0);
}

.text-box.reveal-visible h2::after {
  transform: scaleX(1);
}
/* ==========================
   SEÇÃO BENEFÍCIOS (STICKY STACKING EFFECT)
========================== */

.section-benefits {
  /* Aumentamos o padding inferior para dar espaço para a rolagem acontecer */
  padding-bottom: 15rem; 
  position: relative;
}

/* CABEÇALHO (Mantém igual) */
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 6rem; /* Mais espaço antes de começar os cards */
}

.section-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.2;
  color: #ffffff;
  margin-top: 0.5rem;
  
  /* O ajuste fino: */
  letter-spacing: -0.01em; 
}

/* O WRAPPER AGORA É O TRILHO DA ROLAGEM */
.benefits-wrapper {
  display: flex;
  flex-direction: column;
  /* Removemos o gap, pois o espaçamento será controlado pelo "top" do sticky */
  gap: 0; 
  position: relative;
  /* Altura mínima para garantir que haja espaço para rolar */
  min-height: 100vh;
}

/* O CARD DE BENEFÍCIO (O Bloco Adesivo) */
.benefit-card {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  background: #040710; /* Fundo sólido é essencial para cobrir o de baixo */
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  overflow: hidden;
  /* Sombra forte para destacar o card que está por cima */
  box-shadow: 0 -10px 40px rgba(0,0,0,0.5); 
  
  /* A MÁGICA DO STICKY */
  position: sticky;
  /* Onde ele vai "grudar" em relação ao topo da tela. 
     Ajuste este valor se o seu menu fixo for muito alto */
  top: 120px; 
  
  /* Margem inferior para que o próximo card não comece colado antes de rolar */
  margin-bottom: 4rem; 
  
  /* Garante que o conteúdo do card tenha altura suficiente */
  min-height: 450px;
}

/* --- CONTROLE DE EMPILHAMENTO (Z-INDEX E OFFSET) --- */

/* Cada card precisa ter um z-index maior que o anterior para ficar por cima.
   Eles também precisam de um pequeno deslocamento no 'top' para criar 
   o efeito de "baralho" onde você vê um pouquinho do card de trás.
*/

.benefit-card:nth-child(1) {
  z-index: 1;
  top: 120px; /* Posição inicial */
}

.benefit-card:nth-child(2) {
  z-index: 2;
  top: 140px; /* 20px mais baixo que o primeiro */
}

.benefit-card:nth-child(3) {
  z-index: 3;
  top: 160px; /* 20px mais baixo que o segundo */
  /* O último card não precisa de margem inferior */
  margin-bottom: 0; 
}


/* ALTERNÂNCIA VISUAL (ZIG-ZAG) - Mantém o visual que você gostou */
.benefit-card:nth-child(even) {
  grid-template-columns: 0.8fr 1.2fr;
}
.benefit-card:nth-child(even) .benefit-content {
  order: 2;
}
.benefit-card:nth-child(even) .benefit-visual {
  order: 1;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  border-left: none;
}

/* CONTEÚDO DO CARD (Ajustes finos) */
.benefit-content {
  padding: 4rem; /* Mais espaçamento interno */
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}

.benefit-number {
  font-size: 6rem;
  font-weight: 800;
  color: transparent;
  -webkit-text-stroke: 2px rgba(110, 193, 228, 0.1);
  position: absolute;
  top: 1.5rem;
  right: 2.5rem;
  opacity: 0.4;
  font-family: sans-serif;
  z-index: 0;
}

.benefit-content h3 {
  font-size: 2rem;
  color: #fff;
  margin-bottom: 1.2rem;
  position: relative;
  z-index: 2;
}

.benefit-content p {
  color: #94a3b8;
  font-size: 1.1rem;
  line-height: 1.7;
  position: relative;
  z-index: 2;
}

/* ÁREA VISUAL */
.benefit-visual {
  background: rgba(110, 193, 228, 0.02);
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  /* Removemos a altura fixa para ele se adaptar ao conteúdo */
}

/* RESPONSIVO PARA O EFEITO STICKY */
@media (max-width: 1024px) {
  .benefit-card {
    grid-template-columns: 1fr !important; /* Vira uma coluna */
    min-height: auto; /* Altura automática no mobile */
    /* No tablet/mobile, o efeito sticky pode ocupar muito a tela.
       Ajustamos o top para ficar mais para cima */
    top: 80px !important; 
    margin-bottom: 2rem;
  }
  
  /* No mobile, removemos o offset do topo para não comer espaço de tela */
  .benefit-card:nth-child(1),
  .benefit-card:nth-child(2),
  .benefit-card:nth-child(3) {
    top: 90px !important;
  }
  
  .benefit-visual {
    height: 250px; /* Altura fixa para a imagem no mobile */
    order: 1 !important;
    border-left: none;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }
  
  .benefit-content {
    order: 2 !important;
    padding: 2.5rem;
  }
  
  .benefit-number {
    font-size: 4rem;
  }
}
/* ==========================
   ELEMENTOS VISUAIS DOS BENEFÍCIOS (ARTE CSS)
========================== */

/* 1. CODE VISUAL */
.code-visual {
  width: 160px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
}
.code-line {
  height: 8px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
}
.width-80 { width: 80%; }
.width-60 { width: 60%; }
.width-90 { width: 90%; }
.stat-badge {
  position: absolute;
  top: -20px;
  right: -20px;
  background: #6ec1e4;
  color: #040710;
  font-weight: 700;
  font-size: 0.8rem;
  padding: 4px 10px;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(110, 193, 228, 0.4);
  animation: floatHero 4s ease-in-out infinite;
}

/* 2. CONVERSION VISUAL */
.conversion-visual {
  position: relative;
}
.ui-btn {
  padding: 12px 28px;
  border: 1px solid #6ec1e4;
  border-radius: 8px;
  color: #6ec1e4;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 1px;
  box-shadow: 0 0 15px rgba(110, 193, 228, 0.15);
}
.cursor-arrow {
  width: 0; 
  height: 0; 
  border-left: 12px solid transparent;
  border-right: 12px solid transparent;
  border-bottom: 20px solid #fff;
  position: absolute;
  bottom: -25px;
  right: -15px;
  transform: rotate(-25deg);
  filter: drop-shadow(0 2px 5px rgba(0,0,0,0.5));
  animation: floatHero 3s ease-in-out infinite reverse;
}

/* 3. GROWTH VISUAL */
.growth-visual {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  height: 80px;
}
.bar {
  width: 20px;
  background: linear-gradient(to top, rgba(110,193,228,0.2), #6ec1e4);
  border-radius: 4px 4px 0 0;
  box-shadow: 0 0 15px rgba(110, 193, 228, 0.3);
}
.bar-1 { height: 40%; animation: growBar 2s ease-out infinite alternate; }
.bar-2 { height: 70%; animation: growBar 2s ease-out 0.3s infinite alternate; }
.bar-3 { height: 100%; animation: growBar 2s ease-out 0.6s infinite alternate; }

@keyframes growBar {
  0% { opacity: 0.6; transform: scaleY(0.95); }
  100% { opacity: 1; transform: scaleY(1.05); }
}
/* ==========================
   SEÇÃO PORTFÓLIO
========================== */

.section-portfolio {
  padding-bottom: 8rem;
}

/* GRID DO PORTFÓLIO */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* 2 Colunas no Desktop */
  gap: 2.5rem;
  margin-bottom: 4rem;
}

/* O CARD DO PROJETO */
.project-card {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  aspect-ratio: 4/3; /* Formato retangular agradável */
  background: #040710;
  border: 1px solid rgba(255,255,255,0.05);
  display: block; /* Para o link funcionar na área toda */
}

/* IMAGEM E WRAPPER */
.project-image {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* OVERLAY ESCURO (GRADIENTE) */
.project-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(4, 7, 16, 0.9) 0%,
    rgba(4, 7, 16, 0.3) 50%,
    rgba(4, 7, 16, 0) 100%
  );
  opacity: 0.8;
  transition: opacity 0.4s ease;
}

/* INFORMAÇÕES DO PROJETO */
.project-info {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 2.5rem;
  z-index: 2;
  transform: translateY(10px); /* Texto levemente descido */
  transition: transform 0.4s ease;
}

.project-meta {
  font-size: 0.8rem;
  font-weight: 600;
  color: #6ec1e4;
  letter-spacing: 0.15em;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  opacity: 0; /* Escondido inicialmente */
  transform: translateY(10px);
  transition: all 0.4s ease 0.1s; /* Delay para efeito cascata */
}

.project-info h3 {
  font-size: 1.8rem;
  color: #fff;
  margin: 0 0 1rem 0;
}

.project-link {
  font-size: 0.95rem;
  color: #fff;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.project-link .arrow {
  transition: transform 0.3s ease;
}

/* === HOVER EFFECTS (A MÁGICA) === */

/* 1. Zoom na imagem */
.project-card:hover .project-image img {
  transform: scale(1.08);
}

/* 2. Overlay fica um pouco mais escuro para leitura */
.project-card:hover .project-overlay {
  opacity: 1;
}

/* 3. Texto sobe para a posição final */
.project-card:hover .project-info {
  transform: translateY(0);
}

/* 4. Categoria aparece */
.project-card:hover .project-meta {
  opacity: 1;
  transform: translateY(0);
}

/* 5. Seta se move */
.project-card:hover .project-link .arrow {
  transform: translateX(5px);
}

.project-card:hover .project-link {
  opacity: 1;
  color: #6ec1e4;
}

/* BOTÃO CENTRALIZADO NO FIM */
.center-btn {
  text-align: center;
}

.btn-outline {
  display: inline-block;
  padding: 1rem 2.5rem;
  border: 1px solid rgba(110, 193, 228, 0.3);
  border-radius: 50px;
  color: #fff;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-outline:hover {
  background: rgba(110, 193, 228, 0.1);
  border-color: #6ec1e4;
  transform: translateY(-3px);
}

/* RESPONSIVO PORTFÓLIO */
@media (max-width: 768px) {
  .portfolio-grid {
    grid-template-columns: 1fr; /* 1 Coluna no Mobile */
  }
  
  .project-info {
    transform: translateY(0); /* No mobile, texto sempre visível */
  }
  
  .project-meta {
    opacity: 1;
    transform: translateY(0);
  }
}
/* ==========================
   CORREÇÃO GRID PORTFÓLIO (LINHA ÚNICA)
========================== */

.portfolio-grid {
  display: grid;
  /* AQUI ESTÁ A MUDANÇA: 4 colunas de tamanho igual */
  grid-template-columns: repeat(4, 1fr); 
  gap: 1.5rem; /* Reduzi um pouco o gap para os cards terem mais espaço */
  margin-bottom: 3rem;
}

/* Ajuste no Aspect Ratio para ficar mais panorâmico (menos alto) */
.project-card {
  position: relative;
  border-radius: 16px; /* Arredondamento levemente menor para combinar com o tamanho */
  overflow: hidden;
  aspect-ratio: 3/4; /* Card mais vertical para caber na largura reduzida */
  /* OU se preferir cards mais baixinhos use: aspect-ratio: 16/9; */
  background: #040710;
  border: 1px solid rgba(255,255,255,0.05);
  display: block; 
}

/* Ajuste de texto para cards menores */
.project-info {
  padding: 1.5rem; /* Menos padding */
}

.project-info h3 {
  font-size: 1.4rem; /* Fonte levemente menor */
  line-height: 1.2;
}

/* ==========================
   RESPONSIVIDADE INTELIGENTE
========================== */

/* Em Laptops menores e Tablets (ex: iPad), voltamos para 2 colunas */
@media (max-width: 1200px) {
  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
  
  .project-card {
    aspect-ratio: 4/3; /* Volta ao formato padrão */
  }
}

/* Em Celulares, 1 coluna */
@media (max-width: 650px) {
  .portfolio-grid {
    grid-template-columns: 1fr;
  }
}
/* ==========================
   FOOTER PREMIUM
========================== */

.site-footer {
  background: #020408; /* Fundo mais escuro que o site para "fechar" */
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 6rem;
  position: relative;
  z-index: 10;
}

/* 1. CTA SECTION */
.footer-cta {
  text-align: center;
  margin-bottom: 4rem;
}

.footer-cta h2 {
  font-size: 2.5rem;
  color: #fff;
  margin-bottom: 2rem;
}

.btn-footer {
  display: inline-block;
  padding: 1rem 3rem;
  border-radius: 50px;
  background: linear-gradient(90deg, #6ec1e4, #1c5a74);
  color: #04121c;
  font-weight: 700;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-shadow: 0 0 20px rgba(110, 193, 228, 0.2);
}

.btn-footer:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 40px rgba(110, 193, 228, 0.4);
  filter: brightness(1.1);
}

/* DIVISOR SUTIL */
.footer-divider {
  height: 1px;
  margin-bottom: 4rem;
  background: linear-gradient(90deg, 
    transparent 0%, 
    rgba(110, 193, 228, 0.1) 20%, 
    #6ec1e4 50%, 
    rgba(110, 193, 228, 0.1) 80%, 
    transparent 100%
  );
  background-size: 200% auto;
  opacity: 0.3;
  animation: shineLine 6s linear infinite;
}

@keyframes shineLine {
  to { background-position: 200% center; }
}
/* 2. GRID PRINCIPAL */
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr; /* Coluna da marca é maior */
  gap: 3rem;
  padding-bottom: 4rem;
}

/* COLUNA DA MARCA */
.brand-col p {
  color: #94a3b8;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-top: 1.5rem;
  max-width: 300px;
}

.footer-logo img {
  height: 32px;
  opacity: 0.9;
}

/* TÍTULOS DAS COLUNAS */
.footer-col h4 {
  color: #fff;
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  font-weight: 600;
}

/* LISTAS DE LINKS */
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.8rem;
}

.footer-links a {
  color: #94a3b8;
  font-size: 0.95rem;
  transition: all 0.2s ease;
  position: relative;
  display: inline-block;
}

/* Hover Slide Effect nos Links */
.footer-links a:hover {
  color: #6ec1e4;
  transform: translateX(5px);
}

/* 3. REDES SOCIAIS */
.social-links {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.social-icon {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: all 0.3s ease;
}

.social-icon svg {
  width: 18px;
  height: 18px;
}

/* Hover nos Ícones Sociais */
.social-icon:hover {
  background: #6ec1e4;
  color: #04121c;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(110, 193, 228, 0.3);
}

.contact-mail {
  color: #c2c7d1;
  font-size: 0.9rem;
}

/* 4. RODAPÉ INFERIOR (Copyright) */
.footer-bottom {
  background: #000000;
  padding: 1.5rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.03);
  font-size: 0.85rem;
  color: #6b7280;
}

.bottom-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.legal-links {
  display: flex;
  gap: 2rem;
}

.legal-links a:hover {
  color: #fff;
  text-decoration: underline;
}

/* RESPONSIVO FOOTER */
@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr; /* 2 colunas no tablet */
    gap: 2rem;
  }
  
  .brand-col {
    grid-column: 1 / -1; /* Marca ocupa largura total */
    margin-bottom: 1rem;
  }
}

@media (max-width: 600px) {
  .footer-grid {
    grid-template-columns: 1fr; /* 1 coluna no celular */
    text-align: center;
  }

  .brand-col p {
    margin-inline: auto; /* Centraliza texto */
  }
  
  .social-links {
    justify-content: center;
  }
  
  .bottom-flex {
    flex-direction: column;
    gap: 1rem;
  }
  
  .footer-cta h2 {
    font-size: 1.8rem;
  }
}
/* ==========================
   BOTÃO VER PORTFÓLIO (NOVO)
========================== */

.btn-view-all {
  display: inline-flex;
  align-items: center;
  gap: 12px; /* Espaço entre texto e seta */
  padding: 1rem 2.8rem;
  
  /* Estilo Vidro Sutil */
  background: rgba(255, 255, 255, 0.02); 
  border: 1px solid rgba(110, 193, 228, 0.3);
  border-radius: 50px;
  
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* HOVER: Acende e flutua */
.btn-view-all:hover {
  background: rgba(110, 193, 228, 0.1);
  border-color: #6ec1e4;
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 10px 30px -10px rgba(110, 193, 228, 0.3);
}

/* ANIMAÇÃO DA SETA SVG */
.btn-view-all svg {
  transition: transform 0.3s ease;
}

/* Quando passa o mouse no botão, a seta vai para a direita */
.btn-view-all:hover svg {
  transform: translateX(5px);
}
/* ==========================
   CORREÇÃO: CENTRALIZAR BOTÃO
========================== */
.center-btn {
  width: 100%;              /* Garante que o container ocupe toda a largura */
  display: flex;            /* Ativa o Flexbox */
  justify-content: center;  /* Força o conteúdo (o botão) para o centro exato */
  margin-top: 3rem;         /* Adiciona um respiro entre os cards e o botão */
}
/* ==========================
   PREMIUM UI: CUSTOM SCROLLBAR
========================== */

/* Largura da barra */
::-webkit-scrollbar {
  width: 10px;
}

/* O fundo (trilho) por onde a barra corre */
::-webkit-scrollbar-track {
  background: #020408; /* Mesma cor do seu footer */
}

/* A barra em si (o polegar) */
::-webkit-scrollbar-thumb {
  background: #1c5a74; /* Seu Azul Primary */
  border-radius: 5px;
  border: 2px solid #020408; /* Cria um respiro nas bordas */
}

/* Quando passa o mouse na barra */
::-webkit-scrollbar-thumb:hover {
  background: #6ec1e4; /* Seu Azul Accent (Neon) */
}
/* ==========================
   PREMIUM UI: SELEÇÃO DE TEXTO
========================== */

::selection {
  background: #6ec1e4; /* Fundo Neon */
  color: #040710;      /* Texto Preto para contraste máximo */
  text-shadow: none;
}
/* ==========================
   PREMIUM STAGGER (DELAY EM CASCATA)
========================== */

/* Aplica delay nos filhos diretos de grids quando eles têm a classe reveal */
.services-grid .reveal:nth-child(2),
.portfolio-grid .reveal:nth-child(2) {
  transition-delay: 0.15s;
}

.services-grid .reveal:nth-child(3),
.portfolio-grid .reveal:nth-child(3) {
  transition-delay: 0.3s;
}

.services-grid .reveal:nth-child(4),
.portfolio-grid .reveal:nth-child(4) {
  transition-delay: 0.45s;
}

.services-grid .reveal:nth-child(5) {
  transition-delay: 0.6s;
}
/* ==========================
   CURSOR CUSTOMIZADO (DESKTOP ONLY)
========================== */
.custom-cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 20px;
  height: 20px;
  border: 1px solid rgba(110, 193, 228, 0.8);
  border-radius: 50%;
  pointer-events: none; /* O clique passa através dele */
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: transform 0.1s ease, background 0.3s ease, width 0.3s ease, height 0.3s ease;
  mix-blend-mode: difference; /* Inverte a cor onde passa (efeito muito pro) */
  display: none; /* Escondido por padrão (mobile) */
}

/* Só mostra em dispositivos com mouse */
@media (pointer: fine) {
  .custom-cursor {
    display: block;
  }
  /* Esconde o cursor padrão do sistema se quiser (opcional, eu prefiro manter os dois para usabilidade) */
  /* body { cursor: none; } */
}

/* Estado Hover (Quando passa em links) */
.custom-cursor.hovered {
  width: 50px;
  height: 50px;
  background: rgba(110, 193, 228, 0.1);
  border-color: transparent;
  backdrop-filter: blur(2px);
}
/* ==========================
   MENU DROPDOWN (PREMIUM)
========================== */


/* Isso cria uma área transparente acima do menu para o mouse não "cair" */
.dropdown-menu::before {
  content: "";
  position: absolute;
  top: -20px; /* Sobe 20px para encostar no header */
  left: 0;
  width: 100%;
  height: 30px; /* Altura da área de segurança */
  background: transparent; /* Invisível */
  display: block;
}
/* Container do item que tem dropdown */
.dropdown-item {
  position: relative; /* Necessário para posicionar o menu filho */
}

/* A setinha ao lado do texto "Serviços" */
.dropdown-trigger svg {
  margin-left: 6px;
  transition: transform 0.3s ease;
  opacity: 0.7;
}

/* Gira a seta quando passa o mouse */
.dropdown-item:hover .dropdown-trigger svg {
  transform: rotate(180deg);
  opacity: 1;
}

/* O MENU FLUTUANTE (Escondido por padrão) */
.dropdown-menu {
  position: absolute;
  top: 100%; /* Fica logo abaixo do item */
  left: 50%;
  transform: translateX(-50%) translateY(10px); /* Centraliza e desce um pouco */
  
  width: 220px; /* Largura do sub-menu */
  background: rgba(7, 21, 42, 0.95); /* Fundo escuro sólido/vidro */
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 1rem 0;
  
  list-style: none;
  opacity: 0;
  visibility: hidden;
  pointer-events: none; /* Não clicável quando invisível */
  
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

/* MOSTRAR O MENU (No Hover) */
.dropdown-item:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(15px); /* Animação de descida suave */
}

/* ITENS DO SUB-MENU */
.dropdown-menu li {
  display: block;
  margin: 0;
}

.dropdown-menu a {
  display: block;
  padding: 0.8rem 1.5rem;
  color: #c2c7d1;
  font-size: 0.9rem;
  text-transform: none; /* Remove uppercase se houver */
  letter-spacing: 0.02em;
  white-space: nowrap;
  transition: all 0.2s ease;
}

/* Remove a linha inferior padrão dos links do header se houver */
.dropdown-menu a::after {
  display: none; 
}

/* Hover nos itens internos */
.dropdown-menu a:hover {
  background: rgba(110, 193, 228, 0.1);
  color: #6ec1e4;
  padding-left: 2rem; /* Efeito slide leve */
}

/* AJUSTE MOBILE (Simples) */
@media (max-width: 900px) {
  .dropdown-menu {
    position: static; /* No mobile, fica no fluxo normal */
    transform: none;
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    display: none; /* Esconde e mostra via JS se quiser, ou deixa visível */
    border: none;
    box-shadow: none;
    padding-left: 1rem;
  }
  
  /* Mostra sempre no mobile para facilitar */
  .dropdown-item:hover .dropdown-menu,
  .dropdown-item .dropdown-menu {
    display: block; 
  }
}
/* ==========================
   SEÇÃO CONTATO (FORMULÁRIO)
========================== */

.section-contato {
  padding: 6rem 0 8rem;
  position: relative;
}

.contact-wrapper {
  max-width: 800px; /* Limita a largura para ficar elegante */
  margin: 0 auto;
  background: rgba(4, 7, 16, 0.6); /* Fundo semi-transparente */
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 3rem;
  border-radius: 24px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(10px);
}

/* GRID DO FORMULÁRIO (Compacto) */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr; /* 2 colunas lado a lado */
  gap: 1.5rem;
}

/* ESTILO DOS CAMPOS (INPUTS/SELECT/TEXTAREA) */
.input-group input,
.input-group select,
.input-group textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 1rem 1.5rem;
  font-family: "Poppins", sans-serif;
  font-size: 0.95rem;
  color: #fff;
  transition: all 0.3s ease;
  outline: none;
}

/* Placeholder cor suave */
.input-group input::placeholder,
.input-group textarea::placeholder {
  color: #6b7280;
}

/* Foco no campo (Brilho Neon) */
.input-group input:focus,
.input-group select:focus,
.input-group textarea:focus {
  border-color: #6ec1e4;
  background: rgba(110, 193, 228, 0.05);
  box-shadow: 0 0 15px rgba(110, 193, 228, 0.15);
}

/* Ajuste para o Select ficar bonito */
.input-group select {
  cursor: pointer;
  appearance: none; /* Remove a seta padrão feia do navegador */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%236ec1e4' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 16px;
}

.input-group select option {
  background: #040710; /* Fundo escuro nas opções */
  color: #fff;
}

.full-width {
  grid-column: 1 / -1; /* Ocupa a linha toda */
}

/* ÁREA DOS BOTÕES */
.form-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 1rem;
  gap: 1rem;
}

/* Botão Submit (Principal) */
.btn-submit {
  flex: 1;
  background: linear-gradient(90deg, #6ec1e4, #1c5a74);
  color: #04121c;
  font-weight: 700;
  padding: 1rem;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.btn-submit:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(110, 193, 228, 0.3);
}

/* Divisor "OU" */
.divider-or {
  font-size: 0.8rem;
  color: #6b7280;
  font-weight: 600;
  letter-spacing: 1px;
}

/* Botão WhatsApp (Secundário) */
.btn-whatsapp {
  flex: 1;
  background: transparent;
  border: 1px solid #25D366; /* Verde WhatsApp */
  color: #25D366;
  font-weight: 600;
  padding: 1rem;
  border-radius: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.btn-whatsapp:hover {
  background: rgba(37, 211, 102, 0.1);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.15);
}

/* RESPONSIVO FORM */
@media (max-width: 700px) {
  .contact-wrapper {
    padding: 1.5rem;
  }
  
  .form-row {
    grid-template-columns: 1fr; /* 1 coluna no mobile */
    gap: 1rem;
  }
  
  .form-actions {
    flex-direction: column; /* Botões um embaixo do outro no mobile */
    gap: 1.5rem;
  }
  
  .btn-submit, .btn-whatsapp {
    width: 100%;
  }
}
/* ==========================
   ESTILOS DE PÁGINAS INTERNAS
========================== */

/* Ajuste do Hero para páginas internas (menor que o da home) */
.page-hero {
  padding-top: 180px; /* Espaço para o header fixo */
  padding-bottom: 6rem;
  min-height: auto; /* Não precisa ser 100vh */
}

.hero-inner-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.hero-inner-content h1 {
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  color: #ffffff;
  letter-spacing: -0.02em;
}

.hero-inner-content p {
  font-size: 1.2rem;
  line-height: 1.7;
  color: var(--color-text-muted);
  max-width: 650px;
  margin: 0 auto;
}

/* Destaque de texto */
.accent-text {
    color: var(--color-accent);
    position: relative;
    white-space: nowrap;
}
/* Sublinhado sutil no destaque */
.accent-text::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--color-accent);
    opacity: 0.3;
    border-radius: 4px;
}


/* GRID DE 2 COLUNAS GENÉRICO */
.two-col-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

/* Lista Premium com checkmarks */
.premium-list {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
}
.premium-list li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.05rem;
    color: #e2e8f0;
}
.premium-list li::before {
    content: '✓';
    color: var(--color-accent);
    font-weight: bold;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: rgba(110, 193, 228, 0.1);
    border-radius: 50%;
    font-size: 0.9rem;
}

/* Badges de Tecnologia na Imagem */
.tech-overlay {
    position: absolute;
    bottom: 20px;
    left: 20px;
    display: flex;
    gap: 10px;
}
.tech-badge {
    background: rgba(4, 7, 16, 0.8);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--color-accent);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

/* GRID DE PILARES */
.pillars-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}
.pillar-card {
    background: rgba(8, 24, 43, 0.4);
    border: 1px solid rgba(110, 193, 228, 0.08);
    padding: 2.5rem;
    border-radius: 20px;
    text-align: left;
    transition: all 0.3s ease;
}
.pillar-card:hover {
    background: rgba(8, 24, 43, 0.7);
    border-color: var(--color-accent);
    transform: translateY(-5px);
}
.pillar-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: inline-block;
    filter: drop-shadow(0 0 15px rgba(110, 193, 228, 0.3));
}
.pillar-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #fff;
}
.pillar-card p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--color-text-muted);
}

/* SHOWCASE SECTION */
.showcase-wrapper {
    background: linear-gradient(135deg, rgba(8, 24, 43, 0.6), rgba(4, 7, 16, 0.8));
    border-radius: 24px;
    padding: 4rem;
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
    overflow: hidden;
}
.showcase-image img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.4);
    transform: perspective(1000px) rotateY(-10deg) rotateX(5deg) translateX(20px);
    transition: all 0.5s ease;
}
.showcase-wrapper:hover .showcase-image img {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg) translateX(0);
}


/* RESPONSIVO PÁGINAS INTERNAS */
@media (max-width: 1024px) {
    .hero-inner-content h1 { font-size: 2.8rem; }
    .two-col-grid { grid-template-columns: 1fr; gap: 3rem; }
    .reverse-on-mobile { display: flex; flex-direction: column-reverse; }
    .image-box { max-height: 400px; }
    .pillars-grid { grid-template-columns: repeat(2, 1fr); }
    .showcase-wrapper { grid-template-columns: 1fr; padding: 2.5rem; text-align: center; }
    .showcase-image img { transform: none; margin-top: 2rem; }
}

@media (max-width: 600px) {
    .hero-inner-content h1 { font-size: 2.2rem; }
    .pillars-grid { grid-template-columns: 1fr; }
}
/* ==========================
   PREMIUM CODE EDITOR (CSS PURE)
========================== */
.code-editor-window {
  background: #0d1117; /* Cor fundo VS Code */
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  overflow: hidden;
  font-family: 'Fira Code', monospace; /* Fonte monoespaçada */
  width: 100%;
  max-width: 500px;
  transition: transform 0.3s ease;
}

.code-editor-window:hover {
  transform: translateY(-5px) scale(1.02);
  border-color: #6ec1e4;
}

/* Barra de título estilo Mac */
.window-header {
  background: #161b22;
  padding: 12px 15px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.dots { display: flex; gap: 6px; }
.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot.red { background: #ff5f56; }
.dot.yellow { background: #ffbd2e; }
.dot.green { background: #27c93f; }

.filename {
  margin-left: 20px;
  font-size: 0.8rem;
  color: #8b949e;
  font-family: sans-serif;
}

/* Corpo do código */
.window-body {
  padding: 20px;
  font-size: 0.9rem;
  line-height: 1.6;
  color: #c9d1d9;
}

.indent-1 { padding-left: 20px; }
.indent-2 { padding-left: 40px; }
.empty { height: 10px; }

/* Cores de Sintaxe (Syntax Highlighting) */
.kwd { color: #ff7b72; } /* Keyword (rosa) */
.var { color: #79c0ff; } /* Variável (azul) */
.cls { color: #d2a8ff; } /* Classe (roxo) */
.func { color: #d2a8ff; } /* Função (roxo) */
.prop { color: #7ee787; } /* Propriedade (verde) */
.str { color: #a5d6ff; } /* String (azul claro) */
.cmt { color: #8b949e; font-style: italic; } /* Comentário (cinza) */

/* Cursor piscando */
.cursor-blink {
  display: inline-block;
  color: #6ec1e4;
  animation: blink 1s step-end infinite;
  font-weight: bold;
}

@keyframes blink {
  50% { opacity: 0; }
}
/* ==========================
   UI GLASS STACK (NOVO VISUAL)
========================== */

.ui-glass-stack {
  position: relative;
  width: 100%;
  max-width: 500px; /* Limita o tamanho para não esticar */
  aspect-ratio: 1/1; /* Quadrado ou levemente retangular */
  margin: 0 auto;
  perspective: 1000px; /* Ativa o 3D */
}

/* Estilo Base dos Cartões */
.glass-card {
  position: absolute;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(20px); /* O efeito de vidro */
  transition: transform 0.5s ease;
}

/* CARTÃO 1: Fundo (Escuro e Grande) */
.card-back {
  width: 90%;
  height: 90%;
  top: 0;
  left: 5%;
  background: linear-gradient(135deg, rgba(28, 90, 116, 0.2), rgba(4, 7, 16, 0.8));
  z-index: 1;
  transform: rotate(-6deg); /* Inclinação sutil */
}

/* CARTÃO 2: Interface (O "Site") */
.card-mid {
  width: 85%;
  height: 80%;
  top: 10%;
  left: 7.5%;
  background: rgba(13, 17, 23, 0.6);
  z-index: 2;
  transform: rotate(0deg); /* Reto */
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* Elementos decorativos da interface (abstratos) */
.ui-header {
  padding: 15px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  display: flex;
  align-items: center;
  gap: 10px;
}
.ui-dot { width: 12px; height: 12px; background: #333; border-radius: 50%; }
.ui-line { width: 60%; height: 6px; background: rgba(255,255,255,0.1); border-radius: 3px; }

.ui-body { padding: 20px; display: flex; flex-direction: column; gap: 15px; }
.ui-block-hero { width: 100%; height: 100px; background: linear-gradient(90deg, rgba(110,193,228,0.1), transparent); border-radius: 12px; }
.ui-row { display: flex; gap: 15px; }
.ui-block-small { flex: 1; height: 80px; background: rgba(255,255,255,0.03); border-radius: 12px; }


/* CARTÃO 3: O Destaque (Conversão/Sucesso) */
.card-front {
  width: auto;
  padding: 15px 25px;
  bottom: 20%;
  right: -10px; /* Flutua para fora à direita */
  background: rgba(7, 21, 42, 0.9);
  border: 1px solid #6ec1e4; /* Borda neon */
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 15px;
  transform: translateZ(50px); /* Sai da tela (3D) */
  animation: floatFront 4s ease-in-out infinite;
}

.success-icon {
  width: 40px;
  height: 40px;
  background: #6ec1e4;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #040710;
}

.success-text { display: flex; flex-direction: column; }
.success-text .label { font-size: 0.7rem; color: #94a3b8; text-transform: uppercase; }
.success-text .value { font-size: 1.2rem; font-weight: 700; color: #fff; }

/* Animação de Hover no Container Pai */
.showcase-wrapper:hover .card-back { transform: rotate(-8deg) scale(0.95); }
.showcase-wrapper:hover .card-mid { transform: scale(1.02); }
.showcase-wrapper:hover .card-front { transform: scale(1.1) translateY(-10px); }

/* Animação Flutuante Constante */
@keyframes floatFront {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
}

/* Responsivo */
@media (max-width: 768px) {
  .ui-glass-stack { max-width: 300px; margin-top: 2rem; }
  .card-front { right: 0; bottom: 10%; }
}
/* ==========================
   BOTÃO PRIMÁRIO (GLOBAL)
========================== */
.btn-primary {
  display: inline-flex;       /* Garante que aceite padding e altura */
  align-items: center;
  justify-content: center;
  
  /* Tamanho e Espaçamento */
  padding: 1rem 2.5rem;
  margin-top: 2rem;           /* Afasta do texto de cima */
  
  /* Visual Premium */
  background: linear-gradient(90deg, #6ec1e4, #1c5a74);
  color: #04121c;             /* Texto escuro para contraste */
  font-weight: 700;
  font-size: 1rem;
  border-radius: 50px;        /* Redondo (Pílula) */
  text-decoration: none;      /* Tira o sublinhado de link */
  
  /* Efeitos */
  box-shadow: 0 4px 15px rgba(110, 193, 228, 0.3); /* Glow inicial */
  transition: all 0.3s ease;
  cursor: pointer;
}

/* EFEITO HOVER (Ao passar o mouse) */
.btn-primary:hover {
  transform: translateY(-4px); /* Sobe um pouquinho */
  box-shadow: 0 10px 25px rgba(110, 193, 228, 0.5); /* Glow aumenta */
  filter: brightness(1.1);     /* Fica mais brilhante */
}
/* ==========================
   AJUSTE DE ESPAÇAMENTO - SHOWCASE
========================== */

.section-showcase {
  /* Aumentei de 0/padrão para 10rem (aprox. 160px) */
  /* Isso vai criar um "colchão de ar" em cima e embaixo */
  padding-top: 10rem;    
  padding-bottom: 10rem; 
}

/* Ajuste Responsivo para não ficar buraco demais no celular */
@media (max-width: 768px) {
  .section-showcase {
    padding-top: 5rem;
    padding-bottom: 5rem;
  }
}
/* ==========================
   VISUAL EXCLUSIVO: LANDING PAGE
========================== */

/* 1. GRÁFICO DE CONVERSÃO (HERO) */
.lp-hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.glass-chart-card {
  width: 100%;
  max-width: 450px;
  background: rgba(13, 17, 23, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 20px;
  backdrop-filter: blur(10px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.4);
  position: relative;
  overflow: hidden;
}

/* Cabeçalho do Gráfico */
.chart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  font-size: 0.9rem;
  color: #94a3b8;
  font-weight: 600;
}

.live-indicator {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #6ec1e4;
  font-size: 0.75rem;
  background: rgba(110, 193, 228, 0.1);
  padding: 4px 8px;
  border-radius: 12px;
}

.blink-dot {
  width: 6px; height: 6px; background: #6ec1e4; border-radius: 50%;
  animation: blinkLive 1.5s infinite;
}

@keyframes blinkLive {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

/* Corpo do Gráfico */
.chart-body { position: relative; height: 200px; }

.chart-grid-lines {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; justify-content: space-between;
  z-index: 0;
}
.chart-grid-lines span {
  width: 100%; height: 1px; background: rgba(255,255,255,0.03);
}

.chart-svg {
  width: 100%; height: 100%;
  position: relative; z-index: 1;
  overflow: visible;
}

/* Animação da Linha desenhando */
.chart-line-anim {
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
  animation: drawChart 2.5s ease-out forwards 0.5s;
}

@keyframes drawChart {
  to { stroke-dashoffset: 0; }
}

/* Badge Flutuante */
.stat-float {
  position: absolute;
  bottom: 20px; right: 20px;
  background: linear-gradient(90deg, #6ec1e4, #1c5a74);
  padding: 10px 15px;
  border-radius: 12px;
  display: flex; flex-direction: column;
  box-shadow: 0 10px 30px rgba(110, 193, 228, 0.3);
  animation: floatHero 4s ease-in-out infinite;
}
.stat-float .label { font-size: 0.65rem; color: #04121c; text-transform: uppercase; font-weight: 700; }
.stat-float .value { font-size: 1.1rem; color: #fff; font-weight: 800; }


/* 2. ANATOMIA DA LP (WIREFRAME VISUAL) */
.small-mockup {
  aspect-ratio: 4/3; /* Formato mais alto */
  transform: rotate(-2deg);
  transition: transform 0.5s ease;
}
.lp-anatomy-visual:hover .small-mockup {
  transform: rotate(0deg) scale(1.02);
}

.lp-wireframe-body {
  padding: 15px;
  display: flex; flex-direction: column; gap: 15px;
  background: #080b10; height: 100%;
}

/* Blocos do Wireframe */
.wf-hero {
  background: rgba(255,255,255,0.03);
  border-radius: 8px; height: 40%;
  display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 8px;
}
.wf-headline { width: 70%; height: 8px; background: rgba(255,255,255,0.2); border-radius: 4px; }
.wf-subhead { width: 50%; height: 6px; background: rgba(255,255,255,0.1); border-radius: 4px; }
.wf-btn {
  width: 80px; height: 24px; background: #6ec1e4; border-radius: 4px;
  font-size: 0.6rem; color: #000; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}

/* Botão pulsando no wireframe */
.pulse-btn { animation: pulseBtn 2s infinite; }
@keyframes pulseBtn {
  0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(110, 193, 228, 0.7); }
  70% { transform: scale(1.05); box-shadow: 0 0 0 10px rgba(110, 193, 228, 0); }
  100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(110, 193, 228, 0); }
}

.wf-logos { display: flex; justify-content: space-between; padding: 0 10px; }
.wf-logos span { width: 20px; height: 20px; background: rgba(255,255,255,0.05); border-radius: 50%; }

.wf-benefits { display: flex; gap: 10px; height: 30%; }
.wf-card { flex: 1; background: rgba(255,255,255,0.03); border-radius: 6px; }

/* Badge de Check */
.floating-badge-check {
  position: absolute;
  bottom: 30px; right: -20px;
  background: #0d1117;
  border: 1px solid #27c93f;
  padding: 10px 20px;
  border-radius: 50px;
  display: flex; align-items: center; gap: 10px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  animation: floatFront 5s ease-in-out infinite reverse;
}
.check-icon {
  width: 24px; height: 24px; background: #27c93f; color: #000;
  border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: bold; font-size: 0.8rem;
}
.floating-badge-check span { font-weight: 600; font-size: 0.9rem; color: #fff; }
/* ==========================
   VISUAL EXCLUSIVO: BRANDING
========================== */

/* Tipografia Serifada para destaque (estilo editorial) */
.serif-italic {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  color: #6ec1e4;
  font-weight: 400;
}

/* 1. MOODBOARD FLUTUANTE (HERO) */
.branding-hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 400px;
}

.moodboard-container {
  position: relative;
  width: 100%;
  max-width: 400px;
  height: 100%;
}

/* Estilo Base dos Cards do Moodboard */
.mood-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  animation: floatMood 6s ease-in-out infinite;
}

/* Card 1: Paleta (Esquerda) */
.card-palette {
  width: 140px; height: 180px;
  top: 20px; left: 0;
  z-index: 2;
  gap: 10px;
  animation-delay: 0s;
}
.color-swatch { width: 40px; height: 40px; border-radius: 50%; }
.c1 { background: #1c5a74; }
.c2 { background: #6ec1e4; }
.c3 { background: #fff; }
.mood-label { font-size: 0.6rem; color: #ccc; margin-top: 5px; letter-spacing: 1px; text-transform: uppercase; }

/* Card 2: Tipografia (Direita) */
.card-type {
  width: 160px; height: 160px;
  bottom: 40px; right: 0;
  z-index: 3;
  background: rgba(28, 90, 116, 0.2); /* Leve tom azul */
  border-color: #6ec1e4;
  animation-delay: 2s;
}
.big-letter { font-family: 'Playfair Display', serif; font-size: 4rem; color: #fff; line-height: 1; }
.font-name { font-size: 0.7rem; color: #6ec1e4; font-weight: 600; margin-top: 5px; }

/* Card 3: Arte Abstrata (Fundo) */
.card-art {
  width: 200px; height: 240px;
  top: 60px; left: 80px;
  z-index: 1;
  overflow: hidden;
  animation-delay: 1s;
}
.art-gradient {
  width: 100%; height: 100%;
  background: linear-gradient(45deg, #1c5a74, #000);
  opacity: 0.8;
}

@keyframes floatMood {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-15px) rotate(2deg); }
}


/* 2. STYLE GUIDE VISUAL (SHOWCASE) */
.style-guide-visual {
  display: flex; justify-content: center;
}

.guide-paper {
  width: 100%;
  max-width: 400px;
  aspect-ratio: 1/1.3; /* Formato A4 proprocional */
  background: #f5f5f5; /* Papel branco/cinza claro para contraste */
  border-radius: 8px;
  padding: 30px;
  box-shadow: 0 30px 60px -10px rgba(0,0,0,0.6);
  display: flex; flex-direction: column; gap: 25px;
  transform: rotate(-3deg);
  transition: transform 0.5s ease;
  position: relative;
}

.style-guide-visual:hover .guide-paper {
  transform: rotate(0deg) scale(1.02);
}

/* Elementos internos do guia (Simulando tinta no papel) */
.guide-header { display: flex; justify-content: space-between; align-items: center; border-bottom: 2px solid #ddd; padding-bottom: 15px; }
.guide-logo-placeholder { width: 40px; height: 40px; background: #000; border-radius: 8px; }
.guide-line { width: 100px; height: 4px; background: #ddd; }

.guide-section { display: flex; flex-direction: column; gap: 10px; }
.guide-title { font-size: 0.7rem; color: #888; text-transform: uppercase; font-weight: 700; letter-spacing: 1px; }

.guide-colors { display: flex; gap: 10px; }
.g-color { width: 50px; height: 50px; border-radius: 8px; }
.gc1 { background: #000; }
.gc2 { background: #1c5a74; }
.gc3 { background: #6ec1e4; }

.guide-type { background: #fff; padding: 15px; border-radius: 8px; border: 1px solid #eee; display: flex; justify-content: space-between; align-items: center; }
.gt-h1 { font-family: 'Playfair Display', serif; font-size: 2rem; color: #000; }
.gt-p { font-family: sans-serif; color: #666; font-size: 0.8rem; }

.guide-btn {
  margin-top: auto;
  background: #000; color: #fff; text-align: center; padding: 12px; border-radius: 50px; font-size: 0.8rem; font-weight: 600;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}
/* ==========================
   VISUAL EXCLUSIVO: SOCIAL MEDIA
========================== */

/* 1. INFINITE FEED (HERO) */
.social-hero-visual {
  position: relative;
  height: 450px;
  overflow: hidden; /* Corta o que sai da caixa */
  display: flex;
  justify-content: center;
}

.feed-container {
  display: flex;
  gap: 20px;
  transform: perspective(1000px) rotateX(20deg) rotateY(-10deg) rotateZ(5deg); /* Inclinação 3D estilosa */
}

.feed-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 160px;
}

.feed-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  height: 140px;
  width: 100%;
  backdrop-filter: blur(5px);
  flex-shrink: 0; /* Impede de amassar */
}

/* Cards com "imagem" (gradient) para variar */
.img-card {
  background: linear-gradient(135deg, rgba(28, 90, 116, 0.3), rgba(4, 7, 16, 0.6));
  border-color: rgba(110, 193, 228, 0.2);
}

.highlight {
  border-color: #6ec1e4;
  box-shadow: 0 0 20px rgba(110, 193, 228, 0.2);
}

/* Animação de Scroll Infinito */
.col-slow { animation: feedScroll 15s linear infinite; }
.col-fast { animation: feedScroll 10s linear infinite; }

@keyframes feedScroll {
  0% { transform: translateY(0); }
  100% { transform: translateY(-50%); } /* Move metade e reseta (loop visual) */
}

/* Máscara para suavizar topo e base */
.feed-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, #0b1524 0%, transparent 20%, transparent 80%, #0b1524 100%);
  pointer-events: none;
}


/* 2. ENGAGEMENT BURST (SHOWCASE) */
.engagement-visual {
  position: relative;
  height: 400px;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Celular Minimalista */
.phone-mockup {
  width: 200px;
  height: 380px;
  background: #000;
  border: 4px solid #222;
  border-radius: 30px;
  position: relative;
  box-shadow: 0 20px 50px rgba(0,0,0,0.6);
  z-index: 1;
}
.phone-notch {
  position: absolute; top: 10px; left: 50%; transform: translateX(-50%);
  width: 60px; height: 15px; background: #111; border-radius: 10px;
}
.phone-screen {
  margin: 30px 10px 10px 10px;
  height: 330px;
  background: radial-gradient(circle at bottom, #1c5a74 0%, #080b10 80%);
  border-radius: 20px;
  overflow: hidden;
  position: relative;
}

/* Conteúdo da tela (abstrato) */
.app-header { padding: 15px; display: flex; align-items: center; gap: 10px; border-bottom: 1px solid rgba(255,255,255,0.05); }
.app-avatar { width: 30px; height: 30px; border-radius: 50%; background: linear-gradient(45deg, #6ec1e4, #1c5a74); }
.app-name-line { width: 80px; height: 6px; background: rgba(255,255,255,0.2); border-radius: 3px; }
.app-feed-post { margin: 15px; height: 150px; background: rgba(255,255,255,0.05); border-radius: 12px; }

/* Bolhas de Notificação */
.notif-bubble {
  position: absolute;
  background: rgba(13, 17, 23, 0.9);
  border: 1px solid rgba(110, 193, 228, 0.3);
  padding: 10px 20px;
  border-radius: 50px;
  display: flex; align-items: center; gap: 10px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.4);
  font-size: 0.85rem; color: #fff; font-weight: 600;
  backdrop-filter: blur(10px);
  z-index: 2;
  animation: floatBubble 4s ease-in-out infinite;
}

.n1 { top: 50px; right: 20px; animation-delay: 0s; }
.n2 { bottom: 80px; left: 0px; animation-delay: 1.5s; }
.n3 { top: 150px; left: -40px; animation-delay: 0.8s; }

.heart-icon { color: #ff5f56; }
.chat-icon { color: #6ec1e4; }
.star-icon { color: #ffbd2e; }

@keyframes floatBubble {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* Responsivo */
@media (max-width: 768px) {
  .engagement-visual { height: 350px; }
  .n3 { display: none; } /* Esconde uma bolha no mobile pra limpar */
  .n1 { right: 0; }
}
/* ==========================
   ADD-ON: AUTOMAÇÃO & IA (NOVOS ESTILOS)
   ========================== */

/* 1. VISUAL DO CHATBOT (Simulação) */
.ai-chat-interface {
  width: 100%;
  max-width: 420px;
  background: rgba(13, 17, 23, 0.85);
  border: 1px solid rgba(110, 193, 228, 0.15);
  border-radius: 24px;
  backdrop-filter: blur(12px);
  box-shadow: 0 25px 50px -10px rgba(0, 0, 0, 0.6);
  overflow: hidden;
  margin: 0 auto;
  position: relative;
}

.chat-header {
  padding: 1.2rem;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  gap: 12px;
}

.ai-avatar {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #6ec1e4, #1c5a74);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: bold;
  box-shadow: 0 0 15px rgba(110, 193, 228, 0.4);
}

.ai-status {
  display: flex;
  flex-direction: column;
}
.ai-name { font-size: 0.9rem; font-weight: 600; color: #fff; }
.ai-badge { font-size: 0.7rem; color: #6ec1e4; display: flex; align-items: center; gap: 5px; }
.dot-pulse { width: 6px; height: 6px; background: #6ec1e4; border-radius: 50%; animation: pulseLive 1.5s infinite; }

.chat-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  min-height: 300px;
}

/* Bolhas de Mensagem */
.msg {
  padding: 12px 18px;
  border-radius: 18px;
  font-size: 0.9rem;
  line-height: 1.5;
  max-width: 85%;
  position: relative;
  animation: slideUpFade 0.5s ease-out forwards;
  opacity: 0; /* Começa invisível para animar */
}

.msg-ai {
  background: rgba(110, 193, 228, 0.1);
  color: #e2e8f0;
  border-bottom-left-radius: 4px;
  align-self: flex-start;
  border: 1px solid rgba(110, 193, 228, 0.05);
}

.msg-user {
  background: linear-gradient(90deg, #1c5a74, #16465c);
  color: #fff;
  border-bottom-right-radius: 4px;
  align-self: flex-end;
  text-align: right;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Animação de Digitação */
.typing-indicator {
  display: flex;
  gap: 4px;
  padding: 12px 18px;
  background: rgba(255,255,255,0.03);
  border-radius: 18px;
  align-self: flex-start;
  width: fit-content;
  margin-top: auto; /* Empurra para o fundo se houver espaço */
}
.typing-dot {
  width: 6px; height: 6px; background: #8b949e; border-radius: 50%;
  animation: typingBounce 1.4s infinite ease-in-out both;
}
.typing-dot:nth-child(1) { animation-delay: -0.32s; }
.typing-dot:nth-child(2) { animation-delay: -0.16s; }

@keyframes typingBounce {
  0%, 80%, 100% { transform: scale(0); }
  40% { transform: scale(1); }
}

@keyframes pulseLive {
  0% { box-shadow: 0 0 0 0 rgba(110, 193, 228, 0.7); }
  70% { box-shadow: 0 0 0 6px rgba(110, 193, 228, 0); }
  100% { box-shadow: 0 0 0 0 rgba(110, 193, 228, 0); }
}

@keyframes slideUpFade {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* 2. CÉREBRO DIGITAL (Visual Abstrato) */
.neural-core {
  position: relative;
  width: 300px;
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.core-circle {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(110, 193, 228, 0.3);
  box-shadow: 0 0 30px rgba(110, 193, 228, 0.1);
}
.c-1 { width: 100%; height: 100%; animation: spinRight 20s linear infinite; border-style: dashed; }
.c-2 { width: 70%; height: 70%; animation: spinLeft 15s linear infinite; border-color: rgba(255,255,255,0.1); }
.c-3 { width: 40%; height: 40%; background: radial-gradient(circle, #6ec1e4 0%, transparent 70%); opacity: 0.3; animation: pulseLive 3s infinite; }

@keyframes spinRight { 100% { transform: rotate(360deg); } }
@keyframes spinLeft { 100% { transform: rotate(-360deg); } }

/* Delay nas mensagens para simular conversa real */
.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 1.5s; }
.delay-3 { animation-delay: 3.0s; }
/* ==========================
   PÁGINA SOBRE NÓS (FOUNDERS & STORY)
   ========================== */

/* --- SEÇÃO FUNDADORES --- */
.founders-section {
  padding-bottom: 6rem;
}

.founders-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem;
  margin-top: 3rem;
}

.founder-card {
  background: rgba(4, 7, 16, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 24px;
  overflow: hidden;
  transition: all 0.4s ease;
  position: relative;
  /* A linha 'group: hover' foi removida pois não é necessária */
}

/* Efeito na Foto: P&B para Cor */
.founder-image-wrapper {
  width: 100%;
  aspect-ratio: 3/4; /* Formato Retrato */
  overflow: hidden;
  position: relative;
}

.founder-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%) contrast(1.1); /* Começa Preto e Branco */
  transition: transform 0.6s ease, filter 0.6s ease;
}

.founder-card:hover .founder-img {
  filter: grayscale(0%) contrast(1); /* Ganha cor no hover */
  transform: scale(1.05);
}

.founder-info {
  padding: 2.5rem;
  position: relative;
  background: linear-gradient(to top, rgba(4,7,16,1) 20%, rgba(4,7,16,0.8) 100%);
  border-top: 1px solid rgba(255,255,255,0.05);
  margin-top: -60px; /* Sobe um pouco sobre a foto */
  z-index: 2;
  backdrop-filter: blur(10px);
}

.founder-role {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #6ec1e4;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.founder-name {
  font-size: 1.8rem;
  color: #fff;
  margin-bottom: 1rem;
  font-family: 'Playfair Display', serif; /* Toque elegante */
}

.founder-bio {
  font-size: 0.95rem;
  color: #94a3b8;
  line-height: 1.6;
}

/* --- SEÇÃO HISTÓRIA (TEXTO) --- */
.story-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.story-content p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #c2c7d1;
  margin-bottom: 2rem;
}

.highlight-box {
  border-left: 3px solid #6ec1e4;
  background: rgba(110, 193, 228, 0.05);
  padding: 2rem;
  text-align: left;
  margin: 3rem 0;
  border-radius: 0 16px 16px 0;
}

.highlight-box h3 {
  color: #fff;
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
}

/* --- SEÇÃO MISSÃO/VISÃO/VALORES --- */
.mvv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.mvv-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 2.5rem;
  border-radius: 20px;
  text-align: center;
  transition: transform 0.3s ease;
}

.mvv-card:hover {
  background: rgba(255, 255, 255, 0.04);
  transform: translateY(-5px);
  border-color: rgba(110, 193, 228, 0.3);
}

.mvv-icon {
  width: 60px;
  height: 60px;
  background: rgba(110, 193, 228, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: #6ec1e4;
}

.mvv-card h3 {
  color: #fff;
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

.mvv-card p {
  font-size: 0.95rem;
  color: #94a3b8;
  line-height: 1.6;
}

/* RESPONSIVO */
@media (max-width: 900px) {
  .founders-grid, .mvv-grid {
    grid-template-columns: 1fr; /* Coluna única no mobile */
    gap: 2rem;
  }
  
  .founder-info {
    margin-top: 0; /* Remove sobreposição no mobile */
  }
}
/* ==========================
   BOTÃO LINK COM SETA (Novo)
   ========================== */

.btn-link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #6ec1e4;
  font-weight: 600;
  margin-top: 1rem;
  transition: gap 0.3s ease, color 0.3s ease;
}

.btn-link-arrow:hover {
  gap: 15px; /* A seta se afasta ao passar o mouse */
  color: #fff;
}
/* =========================================
   AJUSTE FINO: PÁGINA SOBRE (ESPAÇAMENTOS)
   ========================================= */

/* 1. Aproximar o Título ("O que nos move") dos Cards */
.section-mvv .section-header {
  /* Reduzimos a margem padrão (que geralmente é 6rem) para 3rem */
  margin-bottom: 3rem; 
}

/* 2. Afastar os Cards da seção de baixo (CTA) */
.section-mvv {
  /* Adicionamos mais "chão" para a seção respirar antes do rodapé */
  padding-bottom: 8rem;
}

/* Opcional: Garante que a seção seguinte (CTA) também tenha um respiro no topo */
.footer-cta {
  padding-top: 4rem;
}
/* ==========================
   PÁGINA PORTFÓLIO (GRID SIMÉTRICO)
   ========================== */

/* --- FILTROS --- */
.portfolio-filter {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 4rem;
  flex-wrap: wrap;
}

.filter-btn {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #94a3b8;
  padding: 0.8rem 2rem;
  border-radius: 50px;
  cursor: pointer;
  font-family: 'Poppins', sans-serif;
  font-size: 0.95rem;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.filter-btn:hover,
.filter-btn.active {
  color: #04121c;
  background: #6ec1e4;
  border-color: #6ec1e4;
  box-shadow: 0 0 20px rgba(110, 193, 228, 0.4);
  font-weight: 600;
}

/* --- GRID DO PORTFÓLIO (CORRIGIDO) --- */
.immersive-grid {
  display: grid;
  /* Cria 2 colunas de tamanho igual */
  grid-template-columns: 1fr 1fr; 
  /* Espaçamento igual em todas as direções */
  gap: 2rem; 
  margin-bottom: 6rem;
}

/* --- CARD DE PORTFÓLIO --- */
.portfolio-item {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: #040710;
  
  /* PADRONIZAÇÃO: Todos os cards agora têm o mesmo formato (4:3) */
  /* Isso evita buracos no grid quando filtra */
  aspect-ratio: 4/3; 
  
  cursor: pointer;
  border: 1px solid rgba(255,255,255,0.05);
}

/* ZOOM NA IMAGEM */
.p-img-wrapper {
  width: 100%;
  height: 100%;
}

.p-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.215, 0.610, 0.355, 1.000);
  filter: brightness(0.9);
}

/* OVERLAY (INFORMACÕES) */
.p-overlay {
  position: absolute;
  inset: 0;
  /* Gradiente mais forte para leitura fácil */
  background: linear-gradient(
    to top, 
    rgba(4, 7, 16, 0.95) 0%, 
    rgba(4, 7, 16, 0.6) 40%, 
    transparent 100%
  );
  opacity: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2rem;
  transition: opacity 0.3s ease;
}

.p-tags {
  display: flex;
  gap: 8px;
  margin-bottom: 0.8rem;
  transform: translateY(20px);
  transition: transform 0.3s ease 0.1s;
}

.p-tag {
  font-size: 0.7rem;
  text-transform: uppercase;
  color: #04121c;
  background: #6ec1e4;
  padding: 4px 8px;
  border-radius: 4px;
  font-weight: 700;
}

.p-title {
  font-size: 1.6rem;
  color: #fff;
  margin: 0 0 0.5rem 0;
  transform: translateY(20px);
  transition: transform 0.3s ease 0.2s;
}

.p-client {
  font-size: 0.9rem;
  color: #94a3b8;
  margin-bottom: 1rem;
  transform: translateY(20px);
  transition: transform 0.3s ease 0.3s;
}

.p-link {
  font-size: 0.9rem;
  color: #fff;
  font-weight: 600;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s ease 0.4s;
}

/* HOVER EFFECTS */
.portfolio-item:hover .p-img {
  transform: scale(1.1);
  filter: brightness(1);
}

.portfolio-item:hover .p-overlay {
  opacity: 1;
}

.portfolio-item:hover .p-tags,
.portfolio-item:hover .p-title,
.portfolio-item:hover .p-client,
.portfolio-item:hover .p-link {
  transform: translateY(0);
  opacity: 1;
}

/* RESPONSIVO */
@media (max-width: 900px) {
  .immersive-grid {
    grid-template-columns: 1fr; /* 1 Coluna no celular */
    gap: 2rem;
  }
}
/* ==========================
   CTA FINAL DO PORTFÓLIO
   ========================== */

.portfolio-footer-cta {
  text-align: center;
  /* Espaçamento generoso: 6rem em cima (separa do grid) e 2rem embaixo */
  padding: 6rem 1rem 2rem; 
  max-width: 600px;
  margin: 0 auto; /* Centraliza o bloco na tela */
}

.portfolio-footer-cta h3 {
  font-size: 2rem; /* Título maior e branco */
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.8rem;
  letter-spacing: -0.02em;
}

.portfolio-footer-cta p {
  font-size: 1.1rem;
  color: #94a3b8; /* Cinza claro elegante */
  margin-bottom: 2.5rem; /* Espaço até o botão */
}