/* =========================================================
   SOFTSY — style.css
   Paleta: #031E3B (azul) | #FEC422 (amarelo) | #FFFFFF
   ========================================================= */


/* ==========================================================
   RESET & BASE
   Zera margens, paddings e define box-sizing universal
   ========================================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* ==========================================================
   VARIÁVEIS CSS (Custom Properties)
   Centralizadas aqui para fácil manutenção e consistência
   ========================================================== */
:root {
  /* Paleta de cores */
  --blue:       #031E3B;   /* Azul principal da marca */
  --blue-mid:   #052A54;   /* Azul médio para gradientes */
  --blue-light: #0A3D78;   /* Azul mais claro para variações */
  --yellow:     #FEC422;   /* Amarelo principal */
  --yellow-2:   #FFD65A;   /* Amarelo hover/destaque suave */
  --white:      #FFFFFF;

  /* Escala de cinzas para fundos e bordas */
  --gray-50:    #F8FAFC;
  --gray-100:   #EEF2F7;
  --gray-300:   #C8D4E3;
  --gray-600:   #5A718A;

  /* Cores de texto */
  --text-dark:  #0D1F35;   /* Títulos e textos principais */
  --text-body:  #3C526B;   /* Corpo de texto */

  /* Utilitários de design */
  --radius:     8px;       /* Border-radius padrão dos botões */
  --shadow-sm:  0 2px 8px rgba(3,30,59,.08);
  --shadow-md:  0 8px 32px rgba(3,30,59,.12);
  --shadow-lg:  0 20px 60px rgba(3,30,59,.18);
  --transition: .25s ease; /* Duração padrão das transições */
  --font:       'Poppins', sans-serif;
  --nav-height: 84px;      /* Altura do header fixo */
}

:root {
  /* Vars usados por badges e transições */
  --r-pill: 999px; /* raio para badges tipo pill */
  --ease: var(--transition);
  --gold: var(--yellow);
}

/* Scroll suave nativo ao clicar em âncoras */
html { scroll-behavior: smooth; }

/* Estilos base do corpo da página */
body {
  font-family: var(--font);
  font-size: 16px;
  color: var(--text-body);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden; /* Evita scroll horizontal indesejado */
}

img { max-width: 100%; display: block; }
a  { text-decoration: none; color: inherit; }

/* ==========================================================
   CONTAINER
   Largura máxima centralizada com padding lateral
   ========================================================== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ==========================================================
   BOTÕES
   Dois estilos: amarelo (primário) e outline (secundário)
   ========================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: .95rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
  white-space: nowrap;
}

/* Botão primário: fundo amarelo */
.btn--yellow {
  background: var(--yellow);
  color: var(--blue);
  border-color: var(--yellow);
}
.btn--yellow:hover {
  background: var(--yellow-2);
  border-color: var(--yellow-2);
  transform: translateY(-2px);                        /* Leve elevação no hover */
  box-shadow: 0 8px 24px rgba(254,196,34,.35);
}

/* Botão secundário: transparente com borda branca */
.btn--outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.5);
}
.btn--outline:hover {
  background: rgba(255,255,255,.08);
  border-color: var(--white);
}

/* Modificador: botão ocupa 100% da largura do pai */
.btn--full { width: 100%; justify-content: center; }

/* Badge estilo Softsy para link de produto (Educsy) */
.softsy-badge{display:inline-flex;align-items:center;gap:6px;margin-top:16px;font-size:.67rem;font-weight:700;letter-spacing:.5px;text-transform:uppercase;color:rgba(255,255,255,.25);border:1px solid rgba(255,255,255,.1);border-radius:var(--r-pill);padding:4px 12px;transition:color var(--ease),border-color var(--ease);}
.softsy-badge:hover{color:var(--gold);border-color:rgba(254,196,34,.3)}
.softsy-badge span{color:var(--gold);font-weight:800}

/* Centraliza o badge dentro da navbar no desktop */
.nav__menu .softsy-badge {
  /* Mantém o badge em fluxo (posição original) e centraliza verticalmente
     entre o topo e a base do header */
  margin-top: 0;         /* remove margem que empurrava para baixo */
  align-self: center;    /* alinha ao centro do eixo cruzado do flex */
  margin-left: 8px;     /* pequeno espaçamento antes do CTA */
}

/* Variante do badge para o footer: tamanho reduzido e espaçamento junto à logo */
.softsy-badge--footer {
  /* Formatação herdada do .softsy-badge, ajustada para o footer */
  padding: 3px 8px;
  font-size: .62rem;
  border-radius: var(--r-pill);
  background: transparent;
  border: 1px solid rgba(255,255,255,.1);
  margin-left: 2px; /* bem próximo da logo */
  color: rgba(255,255,255,.25);
}
.footer .softsy-badge--footer span { color: var(--gold); font-weight:800; }

/* Garante que o link da logo e o badge no footer fiquem encostados */
.footer .nav__logo { display: flex; align-items: center; gap: 2px; }

/* Centraliza verticalmente o badge ao lado da logo no footer */
.footer .softsy-badge--footer { align-self: center; margin-left: 4px; }

/* Garantir que o badge não apareça grande em telas pequenas */
@media (max-width: 480px) {
  .footer .softsy-badge--footer { padding: 3px 6px; font-size: .72rem; margin-left: 6px; }
}

/* ==========================================================
   SEÇÕES — estilos compartilhados
   ========================================================== */
.section { padding: 100px 0; }

/* Tag decorativa acima dos títulos de seção */
.section__tag {
  display: inline-block;
  font-size: .9rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--yellow);
  background: rgba(254,196,34,.1);
  border: 1px solid rgba(254,196,34,.25);
  padding: 4px 14px;
  border-radius: 100px;
  margin-bottom: 16px;
}

/* Variante escura da tag — usada em fundos claros */
.section__tag--light {
  color: var(--blue);
  background: rgba(3,30,59,.12);
  border-color: rgba(3,30,59,.2);
}

/* Título responsivo com clamp (mínimo, ideal, máximo) */
.section__title {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.25;
  margin-bottom: 20px;
}
.section__title--light { color: var(--white); }

.section__body { color: var(--text-body); line-height: 1.8; margin-bottom: 16px; }
.section__body--light { color: rgba(255,255,255,.82); }

/* Cabeçalho centralizado de seção */
.section__header { text-align: center; max-width: 600px; margin: 0 auto 60px; }


/* ==========================================================
   HEADER / NAVBAR
   Fixo no topo, fundo azul escuro
   ========================================================== */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: var(--blue);
  height: var(--nav-height);
  box-shadow: 0 2px 20px rgba(0,0,0,.2);
  /* Garante que a navbar nunca mude de tamanho */
  min-height: var(--nav-height);
  max-height: var(--nav-height);
  overflow: visible; /* permite o menu mobile expandir para baixo */
}

/* Flex container: logo à esquerda, menu à direita */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-height);
  /* Impede que filhos estiquem o nav além da altura definida */
  overflow: visible;
  position: relative; /* permite posicionamento absoluto de elementos filhos (badge central) */
}


.nav__logo {
  display: flex;
  align-items: center;
  /* Limita a área da logo para não estourar o header */
  height: var(--nav-height);
  overflow: hidden;
}

.logo { display: flex; align-items: center; font-size: 1.5rem; font-weight: 800; letter-spacing: -.02em; }
.logo-soft { color: var(--white); }
.logo-sy   { color: var(--yellow); }

/* Logo imagem: sempre contida dentro da altura do header */
.logo__img {
  height: 72px;
  max-height: 72px;
  width: auto;
  object-fit: contain;
  display: block;
  transition: height .25s ease;
}

.logo__imgf {
  height: 60px;
  width: auto;
  object-fit: contain;
  display: block;
}

/* Lista de links do menu */
.nav__menu { display: flex; align-items: center; gap: 8px; list-style: none; }

.nav__link {
  color: rgba(255,255,255,.78);
  font-size: .9rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: var(--radius);
  transition: color var(--transition);
  position: relative;
}

/* Traço amarelo embaixo — expande do centro para os lados no hover */
.nav__link::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--yellow);
  border-radius: 2px;
  transition: width .3s ease;
}
.nav__link:hover { color: var(--white); }
.nav__link:hover::after { width: calc(100% - 28px); }

/* Botão CTA dentro do menu */
.nav__cta { padding: 9px 22px; font-size: .88rem; }

/* Botão hambúrguer — oculto no desktop, visível no mobile */
.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 8px;
}
.nav__hamburger span {
  width: 24px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
  display: block;
}


/* ==========================================================
   HERO — seção inicial de impacto
   ========================================================== */
.hero {
  min-height: 100vh;
  min-height: 100dvh;              /* dvh: exclui barra do browser no mobile */
  background: var(--blue);
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding-top: var(--nav-height);  /* Compensa o header fixo */
}

/* Grade decorativa de linhas sutis no fundo */
.hero__bg-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;            /* Não interfere nos cliques */
}

/* Efeitos de brilho/glow nos cantos */
.hero__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);              /* Blur cria o efeito difuso */
  pointer-events: none;
}
.hero__glow--1 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(254,196,34,.12), transparent 70%);
  top: -100px; right: -100px;     /* Canto superior direito */
}
.hero__glow--2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(10,61,120,.5), transparent 70%);
  bottom: 0; left: 0;             /* Canto inferior esquerdo */
}

/* Grid de duas colunas: texto | card visual */
.hero__content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
  padding: 80px 24px;
  position: relative;
  z-index: 1;                      /* Fica acima dos elementos decorativos */
}

.hero__tag {
  display: inline-block;
  font-size: .8rem;
  font-weight: 500;
  color: var(--yellow);
  letter-spacing: .08em;
  margin-bottom: 20px;
  opacity: .9;
}

/* Título com tamanho fluido via clamp() */
.hero__title {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.18;
  margin-bottom: 20px;
}

/* Palavra destacada em amarelo no título */
.highlight { color: var(--yellow); display: block; }

.hero__subtitle {
  font-size: 1.1rem;
  color: rgba(255,255,255,.72);
  line-height: 1.75;
  margin-bottom: 36px;
  max-width: 500px;
}

.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* --- Card visual decorativo do Hero --- */
.hero__visual { display: flex; justify-content: center; align-items: center; }

.tech-card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 16px;
  padding: 32px;
  width: 320px;
  backdrop-filter: blur(12px);     /* Efeito vidro fosco */
}

/* Ponto colorido no topo do card */
.tech-card__dot { width: 10px; height: 10px; border-radius: 50%; margin-bottom: 20px; }
.tech-card__dot--green { background: #25D366; box-shadow: 0 0 12px #25D36680; }

/* Linhas de placeholder decorativas */
.tech-card__line { height: 8px; background: rgba(255,255,255,.12); border-radius: 100px; margin-bottom: 10px; }
.tech-card__line--short { width: 60%; }

/* Grade de nós/quadrados */
.tech-card__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 20px 0; }
.tech-node { height: 36px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.08); border-radius: 6px; }
.tech-node--active { background: rgba(254,196,34,.15); border-color: rgba(254,196,34,.3); }

/* Barras de progresso */
.tech-card__bar { margin-bottom: 10px; background: rgba(255,255,255,.08); border-radius: 100px; height: 6px; overflow: hidden; }
.tech-bar { height: 100%; background: rgba(255,255,255,.3); border-radius: 100px; animation: fillBar 2s ease forwards; }
.tech-bar--yellow { background: var(--yellow); }

/* Animação: barra cresce do 0 até o width inline definido no HTML */
@keyframes fillBar { from { width: 0 !important; } }

.tech-card__label { display: block; margin-top: 16px; font-size: .8rem; font-weight: 600; color: var(--yellow); letter-spacing: .05em; }

/* ==========================================================
   TECH ORBIT — Animação hero visual (lado direito)
   ========================================================== */
.tech-orbit {
  position: relative;
  width: 640px;
  height: 640px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}

.tech-orbit__svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 0 32px rgba(254,196,34,.08));
}

/* Anéis rotativos */
.orbit-ring {
  transform-origin: 210px 210px;
}
.orbit-ring--1 {
  animation: orbitRotate 18s linear infinite;
}
.orbit-ring--2 {
  animation: orbitRotate 12s linear infinite reverse;
}

@keyframes orbitRotate {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* Arco dourado animado */
.orbit-arc {
  transform-origin: 210px 210px;
  animation: orbitRotate 8s linear infinite;
}

/* Nós orbitais: pulso suave */
.orbit-node--1 { animation: nodePulse 3s ease-in-out infinite; }
.orbit-node--2 { animation: nodePulse 3s ease-in-out infinite 0.75s; }
.orbit-node--3 { animation: nodePulse 3s ease-in-out infinite 1.5s; }
.orbit-node--4 { animation: nodePulse 3s ease-in-out infinite 2.25s; }

@keyframes nodePulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.45; }
}

/* Satélites menores */
.orbit-sat--1 {
  transform-origin: 210px 210px;
  animation: orbitRotate 6s linear infinite;
}
.orbit-sat--2 {
  transform-origin: 210px 210px;
  animation: orbitRotate 6s linear infinite reverse;
}

/* Texto central pulsante */
.tech-orbit__code {
  animation: codePulse 4s ease-in-out infinite;
}
@keyframes codePulse {
  0%, 100% { opacity: 0.85; }
  50%       { opacity: 0.4; }
}

/* Glow central */
.tech-orbit__pulse {
  position: absolute;
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(254,196,34,.12) 0%, transparent 70%);
  animation: pulseGrow 3s ease-in-out infinite;
  pointer-events: none;
}
@keyframes pulseGrow {
  0%, 100% { transform: scale(1);   opacity: 0.6; }
  50%       { transform: scale(1.8); opacity: 0; }
}

/* Seta de scroll animada na base do hero */
.hero__scroll {
  position: absolute; bottom: 32px; left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,.4);
  animation: bounce 2s ease-in-out infinite;
  z-index: 1;
}
@keyframes bounce {
  0%,100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(8px); }
}


/* ==========================================================
   QUEM SOMOS
   ========================================================== */
.quem-somos { background: var(--white); }
/* overflow-x:clip evita scroll horizontal sem bloquear overflow-y para chips */
.quem-somos .container { overflow-x: clip; }

/* Duas colunas: texto | visual */
.quem-somos__grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 80px; }
.quem-somos__text { max-width: 520px; }
/* Padding extra para os chips flutuantes não serem cortados */
.quem-somos__visual { padding: 40px 90px; overflow: visible; }
/* Garante que o grid não corte os chips */
.quem-somos__grid { overflow: visible; }

/* --- Visual abstrato com anéis rotativos --- */
.abstract-tech {
  position: relative;
  width: 340px;
  height: 340px;
  margin: 0 auto;
  /* Permite que os chips apareçam fora do círculo */
  overflow: visible;
  /* Isolate para não propagar overflow para o pai */
  isolation: isolate;
}

/* Anéis concêntricos que giram continuamente */
.abstract-tech__ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(3,30,59,.12);
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  animation: rotate-ring 20s linear infinite;
}
.abstract-tech__ring--1 { width: 200px; height: 200px; }
.abstract-tech__ring--2 { width: 280px; height: 280px; animation-direction: reverse; animation-duration: 30s; border-style: dashed; }
.abstract-tech__ring--3 { width: 340px; height: 340px; animation-duration: 40s; border-color: rgba(254,196,34,.2); }

@keyframes rotate-ring { to { rotate: 360deg; } }

/* Círculo central com ícone */
.abstract-tech__center {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  width: 80px; height: 80px;
  background: var(--blue);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 40px rgba(254,196,34,.2);
}

/* Chips flutuantes com palavras-chave */
.floating-chip {
  position: absolute;
  background: var(--white);
  border: 1px solid var(--gray-100);
  box-shadow: var(--shadow-md);
  padding: 7px 16px;
  border-radius: 100px;
  font-size: .78rem;
  font-weight: 600;
  color: var(--blue);
  white-space: nowrap;
  z-index: 2;
}

/* Posições ajustadas para sempre ficarem visíveis */
.floating-chip--1 { top: -10px;   right: -10px;  animation: float 3s   ease-in-out infinite; }
.floating-chip--2 { bottom: 30px; left: -20px;   animation: float 3.5s ease-in-out infinite .5s; }
.floating-chip--3 { bottom: -10px; right: 10px;  animation: float 4s   ease-in-out infinite 1s; }
.floating-chip--4 { top: 50%;     left: -80px;   transform: translateY(-50%); animation: float 3.2s ease-in-out infinite .2s; }
.floating-chip--5 { top: -10px;   left: 20px;    animation: float 3.8s ease-in-out infinite .8s; }
.floating-chip--6 { top: 50%;     right: -80px;  transform: translateY(-50%); animation: float 4.2s ease-in-out infinite 1.2s; }
.floating-chip--7 { bottom: 30px; right: -10px;  animation: float 3.6s ease-in-out infinite .4s; }

@keyframes float {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}
/* Garante que chips com translateY(-50%) mantenham o alinhamento vertical na animação */
.floating-chip--4, .floating-chip--6 {
  animation: floatCenter 3.2s ease-in-out infinite;
}
.floating-chip--6 { animation-duration: 4.2s; animation-delay: 1.2s; }
@keyframes floatCenter {
  0%,100% { transform: translateY(-50%); }
  50%      { transform: translateY(calc(-50% - 8px)); }
}


/* ==========================================================
   CLIENTES (antigo quem-ajudamos)
   ========================================================== */
.clientes { background: var(--gray-50); overflow: hidden; }

.section__subtitle {
  font-size: 1rem;
  color: var(--text-body);
  max-width: 560px;
  margin: -12px auto 0;
  text-align: center;
}

/* --- Trilho de logos com scroll infinito --- */
.clientes__track-wrapper {
  position: relative;
  overflow: hidden;
  margin: 48px -24px 0;
  padding: 0 0 4px;
}

/* Gradientes nas bordas para fade suave */
.clientes__track-wrapper::before,
.clientes__track-wrapper::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}
.clientes__track-wrapper::before {
  left: 0;
  background: linear-gradient(to right, var(--gray-50), transparent);
}
.clientes__track-wrapper::after {
  right: 0;
  background: linear-gradient(to left, var(--gray-50), transparent);
}

.clientes__track {
  display: flex;
  align-items: center;
  gap: 0;
  width: max-content;
  animation: logoScroll 28s linear infinite;
}
.clientes__track:hover { animation-play-state: paused; }

@keyframes logoScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Cada logo: caixa branca com sombra suave */
.cliente-logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: 12px;
  padding: 20px 36px;
  margin: 8px 12px;
  box-shadow: var(--shadow-sm);
  height: 88px;
  min-width: 180px;
  transition: box-shadow var(--transition), border-color var(--transition), transform var(--transition);
}
.cliente-logo:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--yellow);
  transform: translateY(-3px);
}
.cliente-logo img {
  max-height: 46px;
  max-width: 140px;
  width: auto;
  object-fit: contain;
  filter: grayscale(30%);
  opacity: 0.85;
  transition: filter var(--transition), opacity var(--transition);
}
.cliente-logo:hover img {
  filter: grayscale(0%);
  opacity: 1;
}

/* --- Segmentos atendidos --- */
.clientes__segmentos {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 48px;
  padding: 24px 32px;
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.segmento {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .88rem;
  font-weight: 600;
  color: var(--text-dark);
}

.segmento__icon {
  width: 34px; height: 34px;
  background: rgba(3,30,59,.06);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: var(--blue);
}

.segmento__divider {
  width: 1px;
  height: 28px;
  background: var(--gray-300);
  margin: 0 8px;
}

@media (max-width: 600px) {
  .segmento__divider { display: none; }
  .clientes__segmentos { gap: 16px; }
}


/* ==========================================================
   SOLUÇÕES
   Fundo azul escuro para contraste com a seção anterior
   ========================================================== */
.solucoes { background: var(--blue); }

/* Tag e título adaptados para fundo escuro */
.solucoes .section__tag  { color: var(--yellow); background: rgba(254,196,34,.1); border-color: rgba(254,196,34,.2); }
.solucoes .section__title { color: var(--white); }

/* Grid de 3 colunas para os itens de solução */
.solutions-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

.solution-item {
  display: flex; align-items: flex-start; gap: 18px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 10px;
  padding: 24px;
  transition: var(--transition);
  cursor: default;
}
/* Hover: borda amarelada e leve elevação */
.solution-item:hover {
  background: rgba(254,196,34,.08);
  border-color: rgba(254,196,34,.25);
  transform: translateY(-3px);
}

.solution-item__icon {
  width: 52px; height: 52px;
  background: rgba(254,196,34,.1);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: var(--yellow);
  flex-shrink: 0;                  /* Impede que o ícone encolha */
  transition: var(--transition);
}
.solution-item:hover .solution-item__icon { background: var(--yellow); color: var(--blue); }

.solution-item__title { font-size: .95rem; font-weight: 600; color: var(--white); margin-bottom: 6px; }
.solution-item__text  { font-size: .83rem; color: rgba(255,255,255,.6); line-height: 1.55; }


/* ==========================================================
   DIFERENCIAIS
   ========================================================== */
.diferenciais { background: var(--gray-50); }

.diferenciais-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); 
  gap: 16px;
  margin-top: 12px;
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
}

/* Cada diferencial: pílula com ícone de check */
.diferencial {
  display: flex; align-items: center; gap: 12px;
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: 100px;          /* Balões arredondados — estilo pílula original */
  padding: 18px 24px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  cursor: default;
}
.diferencial:hover {
  border-color: var(--yellow);
  background: #FFFDF4;
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(254,196,34,.15);
}
.diferencial__icon { color: var(--yellow); font-size: 1rem; font-weight: 700; flex-shrink: 0; }
.diferencial__text { font-size: .9rem; font-weight: 600; color: var(--text-dark); flex: 1; text-align: center; }


/* ==========================================================
   CONTATO
   Fundo escuro com grid decorativo
   ========================================================== */
.contato {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-mid) 100%);
  position: relative; overflow: hidden;
}

/* Grade decorativa mais sutil que a do hero */
.contato::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.02) 1px, transparent 1px);
  background-size: 50px 50px;
}

/* Duas colunas: info | formulário */
.contato__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: stretch; position: relative; z-index: 1; }

.contato__links { display: flex; flex-direction: column; gap: 14px; margin-top: 32px; }

.contato__telefone {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 28px;
  color: rgba(255,255,255,.85);
  font-size: .95rem;
  font-weight: 600;
  transition: var(--transition);
  text-decoration: none;
}
.contato__telefone svg { color: var(--yellow); }
.contato__telefone:hover { color: var(--yellow); }

.contato__endereco {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 16px;
  color: rgba(255,255,255,.75);
  font-size: .9rem;
  line-height: 1.6;
}
.contato__endereco svg { color: var(--yellow); }

.contato__mapa {
  margin-top: 20px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.1);
  box-shadow: 0 8px 32px rgba(0,0,0,.3);
  flex: 1;
}

/* Faz o mapa crescer para alinhar com o formulário */
.contato__info {
  display: flex;
  flex-direction: column;
}
.contato__info .contato__mapa {
  flex: 1;
  min-height: 0;
}
.contato__info .contato__mapa iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 220px;
}

@media (max-width: 900px) {
  .contato__mapa { display: none; }
}

.contato__link {
  display: inline-flex; align-items: center; gap: 10px;
  color: rgba(255,255,255,.75); font-size: .9rem; font-weight: 500;
  transition: var(--transition);
}
.contato__link:hover { color: var(--yellow); }

/* --- Formulário --- */
.contato__form {
  background: var(--white);
  border-radius: 16px;
  padding: 40px;
  box-shadow: var(--shadow-lg);
}

.form-group { margin-bottom: 20px; }

.form-group label {
  display: block; font-size: .82rem; font-weight: 600;
  color: var(--text-dark); margin-bottom: 7px; letter-spacing: .02em;
}

.form-group input,
.form-group textarea {
  width: 100%; padding: 11px 16px;
  border: 1.5px solid var(--gray-100);
  border-radius: var(--radius);
  font-family: var(--font); font-size: .9rem;
  color: var(--text-dark); background: var(--gray-50);
  transition: var(--transition);
  resize: vertical;                /* Permite redimensionar apenas verticalmente */
  outline: none;
}

/* Estado focus: borda amarela + sombra suave */
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--yellow);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(254,196,34,.15);
}

.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--gray-300); }

/* Mensagem de sucesso — oculta por padrão */
.form-success {
  display: none; margin-top: 16px; padding: 14px 18px;
  background: #F0FFF4; border: 1px solid #9AE6B4;
  border-radius: var(--radius); color: #276749;
  font-size: .88rem; font-weight: 500; text-align: center;
}
/* Classe .active adicionada via JS exibe a mensagem */
.form-success.active { display: block; }


/* ==========================================================
   FOOTER
   ========================================================== */
.footer { background: var(--blue); border-top: 1px solid rgba(255,255,255,.06); padding: 32px 0; }

/* Flex com 3 itens: logo | copyright | links */
.footer__inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; }

.footer__copy { font-size: .83rem; color: rgba(255,255,255,.4); }
.footer__links { display: flex; gap: 20px; }
.footer__links a { font-size: .83rem; color: rgba(255,255,255,.5); transition: var(--transition); }
.footer__links a:hover { color: var(--yellow); }

/* Garantir que todos os filhos do footer fiquem alinhados verticalmente */
.footer__inner > * { align-self: center; }

/* Ajustes específicos para a logo no footer */
.footer .nav__logo { padding: 0; margin: 0; }
.footer .logo__imgf { height: 56px; display: block; margin: 0; }


/* ==========================================================
   BOTÃO FLUTUANTE DO WHATSAPP
   Fixo no canto inferior direito com animação de pulso
   ========================================================== */
.whatsapp-float {
  position: fixed; bottom: 28px; right: 28px;
  z-index: 999;
  width: 58px; height: 58px;
  background: #25D366;             /* Verde oficial do WhatsApp */
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 24px rgba(37,211,102,.4);
  animation: pulse-wa 2.5s ease-in-out infinite;
  transition: transform var(--transition), box-shadow var(--transition);
}
/* Para animação de pulso e aplica escala no hover */
.whatsapp-float:hover { transform: scale(1.12); box-shadow: 0 10px 32px rgba(37,211,102,.55); animation: none; }

/* Pulso: sombra que expande e desaparece, simulando um ping */
@keyframes pulse-wa {
  0%,100% { box-shadow: 0 6px 24px rgba(37,211,102,.4), 0 0 0 0 rgba(37,211,102,.4); }
  50%      { box-shadow: 0 6px 24px rgba(37,211,102,.4), 0 0 0 12px rgba(37,211,102,0); }
}


/* ==========================================================
   ANIMAÇÕES DE ENTRADA
   ========================================================== */

/* fade-in: usado nos elementos do hero ao carregar a página */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  animation: fadeIn .8s ease forwards;
}
/* Delay para o card visual aparecer após o texto */
.fade-in--delay { animation-delay: .2s; }

@keyframes fadeIn { to { opacity: 1; transform: translateY(0); } }

/* reveal: elementos ocultos que aparecem ao entrar no viewport */
/* Controlado pelo IntersectionObserver no script.js */
.reveal { opacity: 0; transform: translateY(32px); transition: opacity .7s ease, transform .7s ease; }
.reveal--right { transform: translateX(32px); } /* Variante: desliza da direita */
.reveal.visible { opacity: 1; transform: none; } /* Estado final após ser observado */

/* Delays escalonados para animações em sequência */
.reveal--delay-1 { transition-delay: .15s; }
.reveal--delay-2 { transition-delay: .3s; }



/* ==========================================================
   RESPONSIVIDADE — cobertura completa de breakpoints
   ========================================================== */

/* ── Desktop médio (≤1280px) ─────────────────────────────── */
@media (max-width: 1280px) {
  .hero__content  { gap: 48px; }
  .tech-orbit     { width: 500px; height: 500px; }
  .contato__grid  { gap: 56px; }
}

/* ── Tablet largo (≤1024px) ──────────────────────────────── */
@media (max-width: 1024px) {
  .logo__img      { height: 64px; max-height: 64px; }

  .nav__link      { padding: 8px 10px; font-size: .85rem; }

  .hero__content  { gap: 36px; padding: 60px 24px; }
  .tech-orbit     { width: 380px; height: 380px; }

  .solutions-grid    { grid-template-columns: repeat(2, 1fr); }
  .diferenciais-grid { grid-template-columns: repeat(2, 1fr); }
  .cards-grid        { grid-template-columns: repeat(2, 1fr); }

  .quem-somos__grid  { gap: 48px; }
  .quem-somos__visual { padding: 40px 80px; }
  .abstract-tech     { width: 290px; height: 290px; }
  .abstract-tech__ring--3 { width: 290px; height: 290px; }
  .abstract-tech__ring--2 { width: 230px; height: 230px; }
  .abstract-tech__ring--1 { width: 160px; height: 160px; }
  /* Reposiciona chips para o container menor */
  .floating-chip--4 { left: -70px; }
  .floating-chip--6 { right: -70px; }

  .contato__grid  { gap: 48px; }
}

/* ── Tablet (≤900px) ─────────────────────────────────────── */
@media (max-width: 900px) {
  .hero__content    { grid-template-columns: 1fr; text-align: center; padding: 56px 24px 72px; }
  .hero__subtitle   { margin: 0 auto 36px; max-width: 560px; }
  .hero__actions    { justify-content: center; }
  .hero__visual     { display: none; }

  .quem-somos__grid { grid-template-columns: 1fr; text-align: center; gap: 40px; }
  .quem-somos__text { max-width: 100%; }
  /* Garante espaço para os chips em tablets */
  .quem-somos__visual { padding: 60px 120px; overflow: visible; }
  .abstract-tech    { width: 260px; height: 260px; margin: 0 auto; }
  .abstract-tech__ring--3 { width: 260px; height: 260px; }
  .abstract-tech__ring--2 { width: 208px; height: 208px; }
  .abstract-tech__ring--1 { width: 148px; height: 148px; }
  /* Reposiciona chips laterais para caber melhor em tablet */
  .floating-chip--4 { left: -80px; }
  .floating-chip--6 { right: -80px; }

  .cards-grid     { grid-template-columns: 1fr; }
  .contato__grid  { grid-template-columns: 1fr; gap: 36px; }
}

/* ── Mobile (≤768px) ─────────────────────────────────────── */
@media (max-width: 768px) {
  :root { --nav-height: 64px; }

  /* Logo menor no mobile para caber no header de 64px */
  .logo__img  { height: 50px; max-height: 50px; }
  .logo__imgf { height: 36px; }

  /* Navbar mobile */
  .nav__menu {
    position: fixed;
    top: var(--nav-height); left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    background: var(--blue);
    padding: 16px 20px 28px;
    gap: 2px;
    transform: translateY(-110%);
    opacity: 0;
    pointer-events: none;
    transition: transform .32s cubic-bezier(.4,0,.2,1), opacity .32s ease;
    border-top: 1px solid rgba(255,255,255,.1);
    box-shadow: 0 24px 48px rgba(0,0,0,.45);
    z-index: 998;
    overflow-y: auto;
    max-height: calc(100dvh - var(--nav-height));
  }
  .nav__menu.open { transform: translateY(0); opacity: 1; pointer-events: all; }
  .nav__menu li   { width: 100%; }
  .nav__link      { display: block; padding: 14px 16px; width: 100%; font-size: .98rem; border-radius: 8px; }
  .nav__cta       { margin-top: 12px; width: 100%; text-align: center; display: flex; justify-content: center; padding: 13px 22px; }

  .nav__hamburger { display: flex; }
  .nav__hamburger.active span:nth-child(1) { transform: translateY(7px)  rotate(45deg); }
  .nav__hamburger.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
  .nav__hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  /* Seções */
  .section         { padding: 64px 0; }
  .section__header { margin-bottom: 40px; }

  /* Hero */
  .hero__content   { padding: 44px 20px 80px; }
  .hero__title     { font-size: clamp(1.7rem, 7vw, 2.4rem); }
  .hero__subtitle  { font-size: 1rem; }
  .hero__actions   { flex-direction: column; align-items: center; gap: 12px; }
  .hero__actions .btn { width: 100%; max-width: 340px; justify-content: center; }

  /* Quem somos — mobile: reposiciona chips ao redor da estrela */
  /* O container precisa de espaço para os chips flutuantes */
  .quem-somos__visual { padding: 70px 100px; overflow: visible; }
  .abstract-tech    { width: 200px; height: 200px; }
  .abstract-tech__ring--3 { width: 200px; height: 200px; }
  .abstract-tech__ring--2 { width: 158px; height: 158px; }
  .abstract-tech__ring--1 { width: 112px; height: 112px; }

  /* No mobile, reposiciona todos os chips para ficarem visíveis */
  .floating-chip { font-size: .68rem; padding: 5px 11px; }

  /* Reposiciona chips para o container menor (200px) */
  .floating-chip--1 { top: -18px;  right: -30px;  }
  .floating-chip--2 { bottom: 10px; left: -50px;  display: block; } /* re-mostra */
  .floating-chip--4 { left: -65px; top: 50%; }
  .floating-chip--5 { top: -18px;  left: -10px;  display: block; } /* re-mostra */
  .floating-chip--6 { right: -65px; top: 50%; display: block; } /* re-mostra */
  .floating-chip--7 { bottom: 10px; right: -30px; display: block; } /* re-mostra */

  /* Grids */
  .cards-grid        { gap: 16px; }
  .solutions-grid    { grid-template-columns: 1fr; gap: 12px; }
  .diferenciais-grid { grid-template-columns: 1fr; gap: 10px; }
  .diferencial       { border-radius: 12px; }

  /* Contato */
  .contato__form   { padding: 28px 20px; }

  /* Footer */
  .footer__inner   { flex-direction: column; text-align: center; gap: 14px; }
  .footer__links   { justify-content: center; flex-wrap: wrap; gap: 16px; }

  /* WhatsApp */
  .whatsapp-float  { bottom: 18px; right: 16px; width: 52px; height: 52px; }
}

/* ── Mobile pequeno (≤480px) ─────────────────────────────── */
@media (max-width: 480px) {
  .container       { padding: 0 16px; }

  .logo__img       { height: 44px; max-height: 44px; }
  .logo__imgf      { height: 32px; }

  .hero__content   { padding: 36px 16px 72px; }
  .hero__title     { font-size: 1.65rem; line-height: 1.22; }
  .hero__subtitle  { font-size: .93rem; }
  .hero__actions .btn { max-width: 100%; }

  .section__title  { font-size: 1.45rem; }
  .section__header { margin-bottom: 32px; }

  .card            { padding: 26px 18px; }
  .contato__form   { padding: 22px 16px; }

  .solution-item   { flex-direction: column; gap: 10px; }
  .solution-item__icon { width: 44px; height: 44px; }

  .diferencial     { padding: 13px 16px; }
  .diferencial__text { font-size: .85rem; }

  /* Chips ainda menores em telas muito pequenas */
  .quem-somos__visual { padding: 60px 80px; }
  .abstract-tech    { width: 160px; height: 160px; }
  .abstract-tech__ring--3 { width: 160px; height: 160px; }
  .abstract-tech__ring--2 { width: 126px; height: 126px; }
  .abstract-tech__ring--1 { width: 90px;  height: 90px; }
  .floating-chip { font-size: .62rem; padding: 4px 9px; }
  .floating-chip--4 { left: -55px; }
  .floating-chip--6 { right: -55px; }

  .footer__links   { gap: 12px; }
  .whatsapp-float  { width: 48px; height: 48px; bottom: 14px; right: 12px; }
}

/* ── Telas muito pequenas (≤360px) ──────────────────────── */
@media (max-width: 360px) {
  .container       { padding: 0 12px; }
  .logo__img       { height: 38px; max-height: 38px; }
  .hero__title     { font-size: 1.45rem; }
  .hero__subtitle  { font-size: .88rem; }
  .section__title  { font-size: 1.3rem; }
  .btn             { padding: 11px 16px; font-size: .86rem; }
  .card            { padding: 20px 14px; }
  .nav__link       { padding: 12px 12px; }
}