* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  list-style: none;
  text-decoration: none;
  -webkit-font-smoothing: antialiased;
  font-family: "Inria Sans", sans-serif, Arial, Helvetica, sans-serif;
  font-size: 1.8rem;
}



html, body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

html {
  font-size: 62.5%;
}

img {
  max-width: 100%;
  display: block;
}

button {
  display: flex;
  align-items: center;
  padding: 1.8rem 3.2rem;
  gap: 0.8rem;
  cursor: pointer;
  background-color: #653df5;
  color: #fff;
  font-weight: bold;
  border: none;
  border-radius: 0.4rem;
  transition: 0.3s;
}

button:hover {
  background-color: #7f5ff5;
}

h2,
h3 {
  color: #2a2a2b;
}

h1 {
  font-size: 9.6rem;
  font-weight: 700;
}

h2 {
  font-size: 7.2rem;
}
h3 {
  font-size: 4rem;
}

p {
  color: #282829;
  opacity: 0.8;
}

.container {
  width: 100%;
  max-width: 121.6rem;
  padding: 0 2.4rem;
  margin: 0 auto;
}

.headline {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12rem;
}

header {
  position: absolute;
  width: 100%;
  margin-top: 3.2rem;
  z-index: 2;
}

header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

nav ul {
  display: flex;
  gap: 3.2rem;
}
nav ul a {
  color: #a6a6a6;
}
nav ul a:hover {
  color: #7f5ff5;
}

/* Estilos para o menu responsivo */
@media (max-width: 560px) {
  header .menu {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: auto;
    background-color: #151515;
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.5s ease-in-out;
    padding: 0;
  }

  header .menu.active {
    max-height: 600px; /* Altura suficiente para o conteúdo */
    padding: 2rem 0; /* Adiciona espaçamento quando o menu estiver aberto */
  }

  header .menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    cursor: pointer;
  }

  header .menu-toggle span {
    display: block;
    width: 2.4rem;
    height: 0.3rem;
    background-color: #a6a6a6;
  }
}

.s-hero {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  width: 100%;
  height: 100vh;
  background: url("../img/bg_hero3.svg") #151515 center center no-repeat;
  color: #ffff;
  overflow: hidden;
}

.s-hero canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  filter: blur(50px);
  opacity: 1;
  transition: opacity 0.5s ease;
  z-index: 0;
}

#hero-lines {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0; /* Garante que o canvas fique atrás do conteúdo */
}

.s-hero .container,
.s-hero .container > div {
  display: inline-flex;
  text-align: center;
  flex-direction: column;
  align-items: center;
  gap: 1.6rem;
}

.s-hero .container strong {
  color: #a6a6a6;
}

.s-hero .container button {
  z-index: 1;
}

.mao {
  font-size: 2.4rem;
  display: inline-block;
  transform-origin: bottom center;
  animation: tchau 3s infinite cubic-bezier(0.42, 0, 0.58, 1);
}

/* Animação do "tchau" */
@keyframes tchau {
  0%,
  100% {
    transform: rotate(0deg);
  }
  50% {
    transform: rotate(30deg);
  }
}

.s-hero .container p {
  max-width: 65rem;
  font-size: 2.4rem;
  line-height: 120%;
  color: #a6a6a6;
  margin-bottom: 4.8rem;
}

.s-hero .container > img {
  position: absolute;
  bottom: 7.2rem;
  animation: bounce 2s cubic-bezier(0.25, 0, 0.25, 1) infinite;
}

@keyframes bounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
}

.mouse-scroll {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: absolute;
  bottom: 72px;
}

.mouse {
  width: 20px;
  height: 30px;
  border: 2px solid #fff;
  border-radius: 20px;
  position: relative;
}

.scroll {
  width: 2px;
  height: 10px;
  background-color: #fff;
  border-radius: 50%;
  position: absolute;
  top: 0px;
  left: 50%;
  transform: translateX(-50%);
  animation: scroll-down 1.5s infinite;
}

@keyframes scroll-down {
  0% {
    opacity: 0;
    transform: translate(-50%, 0);
  }
  50% {
    opacity: 1;
    transform: translate(-50%, 10px);
  }
  100% {
    opacity: 0;
    transform: translate(-50%, 20px);
  }
}

.s-porti .container {
  padding: 12rem 2.4rem;
}

.s-porti .headline p {
  width: 27rem;
  text-align: right;
}

.s-porti .cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 3.2rem;
}

.s-porti .card {
  width: 100%;
  max-width: 56.8rem;
  padding: 3.2rem 2.4rem;
  border-radius: 6px;
  border: 1px solid #e6e6e6;
  background: #fff;
  cursor: pointer;
}

.s-porti .card img {
  margin-bottom: 3.2rem;
}

.s-porti  .card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  margin-bottom: 3.2rem;
}

.s-porti .card-tags li,
.tecs li, .habilidades li {
  font-size: 1.2rem;
  line-height: 150%;
  padding: 0.8rem 1.6rem;
  border-radius: 5rem;
  border: 0.1rem solid #e6e6e6;
  color: rgba(40, 40, 41, 0.75);
  text-transform: uppercase;
}

.s-porti .desc {
  display: flex;
  justify-content: space-between;
  align-items: start;
}

.s-porti .desc .text h3 {
  font-size: 3.2rem;
  padding-bottom: 1.6rem;
}

/* Estilo geral do modal */
.modal {
  display: none; /* Inicialmente oculto */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5); /* Fundo escuro */
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

/* Conteúdo do modal */
.modal-content {
  background: #fff;
  width: 100%;
  max-width: 144rem;
  height: 82rem;
  box-shadow: 0 0.4rem 1rem rgba(0, 0, 0, 0.3);
  text-align: center;
  position: relative;
  animation: fadeIn 0.3s ease-in-out;
}

.modal-content iframe {
  width: 100%;
  max-width: 144rem;
  height: 82rem;
}

/* Animação de entrada */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Botão de fechar */
.close-btn {
  position: absolute;
  top: -10px;
  right: -50px;
  font-size: 32px;
  font-weight: bold;
  cursor: pointer;
  color: #333;
}

/***********************************/
.s-servicos {
  background-color: #fbfbfc;
  padding-top: 12rem;
}

.s-servicos .servico {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 7.2rem 2.4rem;
  border-top: 1px solid #e6e6e6;
  transition: padding 0.3s, background 0.5s;
  cursor: pointer;
}

.s-servicos .servico:last-child {
  border-bottom: 1px solid #e6e6e6;
}

.s-servicos .servico:hover {
  background-color: #f6f6f7;
  padding-left: 4.8rem;
}

.s-servicos .servico p {
  width: 100%;
  max-width: 519px;
}

.s-servicos .servico h3 {
  width: 100%;
  max-width: 24rem;
}

.s-servicos .servico .seta {
  transition: transform 0.3s ease;
}

.s-servicos .servico:hover .seta {
  transform: translateY(-5px);
}





/* ========================================
   SECÇÃO COMO FAÇO (PROCESSO)
   ======================================== */

.s-processo {
  /* Usando a mesma cor de fundo da secção de serviços */
  background-color: #fbfbfc;
  padding: 12rem 0;
}

.s-processo .processo-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 6.4rem;
}

/* Coluna da Esquerda (Gráfico) */
.s-processo .processo-grafico {
  width: 100%;
  max-width: 50rem;
  flex: 1;
}

.s-processo .processo-grafico h2 {
  /* Estilo 'h2' já é global (7.2rem) */
  margin-bottom: 2.4rem;
}

.s-processo .processo-grafico p {
  /* Estilo 'p' já é global (1.8rem, opacity 0.8) */
  /* Vamos aumentar um pouco para este destaque */
  font-size: 2rem;
  line-height: 1.5;
  max-width: 45rem;
  margin-bottom: 4.8rem;
}

/* Coluna da Direita (Lista) */
.s-processo .processo-lista {
  width: 100%;
  max-width: 60rem;
  flex: 1;
}

.s-processo .processo-lista ul {
  display: flex;
  flex-direction: column;
  gap: 4.8rem;
}

.s-processo .etapa-item {
  display: flex;
  align-items: start; /* Alinha o ícone e texto no topo */
  gap: 2.4rem;
  padding-bottom: 4.8rem;
  border-bottom: 1px solid #e6e6e6; /* Linha divisória */
}

.s-processo .etapa-item:last-child {
  border-bottom: none; /* Remove a borda do último item */
}

.s-processo .etapa-icone {
  /* Define um tamanho fixo para o ícone */
  width: 4rem;
  height: 4rem;
  flex-shrink: 0; /* Impede que o ícone encolha */
}

.s-processo .etapa-icone img {
  width: 100%;
  height: 100%;
}

.s-processo .etapa-texto h3 {
  /* Usando um tamanho menor que o H2, como no s-porti */
  font-size: 3.2rem;
  margin-bottom: 1.6rem;
}

.s-processo .etapa-texto p {
  /* 'p' global (1.8rem, opacity 0.8) funciona bem aqui */
  line-height: 1.5;
}

/* ========================================
   ESTILO E ANIMAÇÃO DO SVG (PROCESSO)
   ======================================== */

.grafico-processo {
  width: 100%;
  max-width: 500px;
  /* IMPORTANTE: Aqui ele usa a tua fonte global */
  font-family: "Inria Sans", sans-serif; 
}

/* Estilo dos Círculos (tracejados) */
.circulo-fundo {
  fill: none; /* Sem fundo */
  stroke: #ADB5BD; /* Cor da borda cinza (do teu design) */
  stroke-width: 1.5px;
  stroke-dasharray: 4 4; /* O efeito tracejado */
}

/* Estilo dos Textos dentro do SVG */
.texto-nodo {
  font-size: 18px;
  font-weight: 600;
  fill: #343A40; /* Cor do texto (do teu design) */
  text-anchor: middle;
  dominant-baseline: middle;
  pointer-events: none;
}

/* Estilo das Setas de Fluxo */
.seta-fluxo {
  fill: none;
  stroke: #ADB5BD; /* Cor da seta cinza */
  stroke-width: 1.5px;
}

/* 1. Animação de Fluxo (as setas) */
@keyframes animacao-fluxo {
  from {
    stroke-dashoffset: 0; 
  }
  to {
    stroke-dashoffset: 100;
  }
}

/* Aplica a animação nas setas */
.seta-fluxo {
  stroke-dasharray: 4 12;
  animation: animacao-fluxo 4s linear infinite;
}

/* 2. Animação de Interatividade (Hover) */
.grupo-nodo {
  transition: transform 0.3s ease;
}

.grupo-nodo:hover {
  transform: scale(1.03);
  cursor: pointer;
}

/* * IMPORTANTE: Cores do Hover 
 * Ajustei para usar a tua cor principal (#653df5)
*/
.grupo-nodo:hover .circulo-fundo {
  stroke: #653df5; /* A TUA COR PRINCIPAL */
  /* Um tom de roxo bem claro para o fundo */
  fill: #f4f1ff; 
}

.grupo-nodo:hover .texto-nodo {
  fill: #653df5; /* A TUA COR PRINCIPAL */
}


/* ========================================
   SECÇÃO COMO FAÇO (PROCESSO) - VERSÃO ATUALIZADA
   ======================================== */

.s-processo {
  background-color: #fbfbfc;
  padding: 12rem 0;
}

.s-processo .processo-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 6.4rem;
}

/* Coluna da Esquerda (Gráfico) */
.s-processo .processo-grafico {
  width: 100%;
  max-width: 50rem;
  flex: 1;
}

.s-processo .processo-grafico h2 {
  margin-bottom: 2.4rem;
}

.s-processo .processo-grafico p {
  font-size: 2rem;
  line-height: 1.5;
  max-width: 45rem;
  margin-bottom: 4.8rem;
}

/* Coluna da Direita (Lista) */
.s-processo .processo-lista {
  width: 100%;
  max-width: 60rem;
  flex: 1;
}

.s-processo .processo-lista ul {
  display: flex;
  flex-direction: column;
  gap: 4.8rem;
}

.s-processo .etapa-item {
  display: flex;
  align-items: start;
  gap: 2.4rem;
  padding-bottom: 4.8rem;
  border-bottom: 1px solid #e6e6e6;
}

.s-processo .etapa-item:last-child {
  border-bottom: none;
}

.s-processo .etapa-icone {
  width: 4rem;
  height: 4rem;
  flex-shrink: 0;
}

.s-processo .etapa-icone img {
  width: 100%;
  height: 100%;
}

.s-processo .etapa-texto h3 {
  font-size: 3.2rem;
  margin-bottom: 1.6rem;
}

.s-processo .etapa-texto p {
  line-height: 1.5;
}

/* ========================================
   SECÇÃO COMO FAÇO (PROCESSO) - VERSÃO ATUALIZADA V4
   ======================================== */

/* (O CSS da secção .s-processo, .processo-wrapper, etc. é o mesmo) */
.s-processo {
  background-color: #fbfbfc;
  padding: 12rem 0;
}
.s-processo .processo-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 6.4rem;
}
.s-processo .processo-grafico {
  width: 100%;
  max-width: 50rem;
  flex: 1;
}
.s-processo .processo-grafico h2 {
  margin-bottom: 2.4rem;
}
.s-processo .processo-grafico p {
  font-size: 2rem;
  line-height: 1.5;
  max-width: 45rem;
  margin-bottom: 4.8rem;
}
.s-processo .processo-lista {
  width: 100%;
  max-width: 60rem;
  flex: 1;
}
.s-processo .processo-lista ul {
  display: flex;
  flex-direction: column;
  gap: 4.8rem;
}
.s-processo .etapa-item {
  display: flex;
  align-items: start;
  gap: 2.4rem;
  padding-bottom: 4.8rem;
  border-bottom: 1px solid #e6e6e6;
}
.s-processo .etapa-item:last-child {
  border-bottom: none;
}
.s-processo .etapa-icone {
  width: 4rem;
  height: 4rem;
  flex-shrink: 0;
}
.s-processo .etapa-icone img {
  width: 100%;
  height: 100%;
}
.s-processo .etapa-texto h3 {
  font-size: 3.2rem;
  margin-bottom: 1.6rem;
}
.s-processo .etapa-texto p {
  line-height: 1.5;
}

/* ========================================
   SECÇÃO COMO FAÇO (PROCESSO) - VERSÃO 4 (Correção de Bug)
   ======================================== */

.s-processo {
  /* Usando a mesma cor de fundo da secção de serviços #fbfbfc */
  background-color: #fff;
  padding: 12rem 0;
}

.s-processo .processo-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 6.4rem;
}

/* Coluna da Esquerda (Gráfico) */
.s-processo .processo-grafico {
  width: 100%;
  max-width: 50rem;
  flex: 1;
}

.s-processo .processo-grafico h2 {
  /* Estilo 'h2' já é global (7.2rem) */
  margin-bottom: 2.4rem;
}

.s-processo .processo-grafico p {
  /* Estilo 'p' já é global (1.8rem, opacity 0.8) */
  /* Vamos aumentar um pouco para este destaque */
  font-size: 2rem;
  line-height: 1.5;
  max-width: 45rem;
  margin-bottom: 4.8rem;
}

/* Coluna da Direita (Lista) */
.s-processo .processo-lista {
  width: 100%;
  max-width: 60rem;
  flex: 1;
}

.s-processo .processo-lista ul {
  display: flex;
  flex-direction: column;
  gap: 4.8rem;
}

.s-processo .etapa-item {
  display: flex;
  align-items: start; /* Alinha o ícone e texto no topo */
  gap: 2.4rem;
  padding-bottom: 4.8rem;
  border-bottom: 1px solid #e6e6e6; /* Linha divisória */
}

.s-processo .etapa-item:last-child {
  border-bottom: none; /* Remove a borda do último item */
}

.s-processo .etapa-icone {
  /* Define um tamanho fixo para o ícone */
  width: 4rem;
  height: 4rem;
  flex-shrink: 0; /* Impede que o ícone encolha */
}

.s-processo .etapa-icone img {
  width: 100%;
  height: 100%;
}

.s-processo .etapa-texto h3 {
  /* Usando um tamanho menor que o H2, como no s-porti */
  font-size: 3.2rem;
  margin-bottom: 1.6rem;
}

.s-processo .etapa-texto p {
  /* 'p' global (1.8rem, opacity 0.8) funciona bem aqui */
  line-height: 1.5;
}


/* ========================================
   SECÇÃO COMO FAÇO (PROCESSO) - VERSÃO 7 (Simplificada)
   ======================================== */

.s-processo {
  background-color: #fbfbfc;
  padding: 12rem 0;
}

.s-processo .processo-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 6.4rem;
}

/* Coluna da Esquerda (Gráfico) */
.s-processo .processo-grafico {
  width: 100%;
  max-width: 50rem;
  flex: 1;
}

.s-processo .processo-grafico h2 {
  margin-bottom: 2.4rem;
}

.s-processo .processo-grafico p {
  font-size: 2rem;
  line-height: 1.5;
  max-width: 45rem;
  margin-bottom: 4.8rem;
}

/* Coluna da Direita (Lista) */
.s-processo .processo-lista {
  width: 100%;
  max-width: 60rem;
  flex: 1;
}

.s-processo .processo-lista ul {
  display: flex;
  flex-direction: column;
  gap: 4.8rem;
}

.s-processo .etapa-item {
  display: flex;
  align-items: start;
  gap: 2.4rem;
  padding-bottom: 4.8rem;
  border-bottom: 1px solid #e6e6e6;
}

.s-processo .etapa-item:last-child {
  border-bottom: none;
}

.s-processo .etapa-icone {
  width: 4rem;
  height: 4rem;
  flex-shrink: 0;
}

.s-processo .etapa-icone img {
  width: 100%;
  height: 100%;
}

.s-processo .etapa-texto h3 {
  font-size: 3.2rem;
  margin-bottom: 1.6rem;
}

.s-processo .etapa-texto p {
  line-height: 1.5;
}


/* ========================================
   SECÇÃO COMO FAÇO (PROCESSO) - VERSÃO 12 (Interativa JS)
   ======================================== */

.s-processo {
  background-color: #fbfbfc;
  padding: 12rem 0;
  overflow: hidden; /* Garante que nada "vaze" */
}

.s-processo .processo-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 6.4rem;
}

/* Coluna da Esquerda (Gráfico) */
.s-processo .processo-grafico {
  width: 100%;
  max-width: 50rem;
  flex: 1;
}

.s-processo .processo-grafico h2 {
  margin-bottom: 2.4rem;
}

.s-processo .processo-grafico p {
  font-size: 2rem;
  line-height: 1.5;
  max-width: 45rem;
  margin-bottom: 4.8rem;
}

/* Coluna da Direita (Lista) */
.s-processo .processo-lista {
  width: 100%;
  max-width: 60rem;
  flex: 1;
}

.s-processo .processo-lista ul {
  display: flex;
  flex-direction: column;
  /* Removemos o 'gap' para a animação de fundo funcionar bem */
}

/* ========================================
   NOVA ANIMAÇÃO DE DEGRADÊ (CSS)
   ======================================== */

.s-processo .etapa-item {
  display: flex;
  align-items: start;
  gap: 2.4rem;
  
  /* Ajusta o padding para a borda */
  padding: 4.8rem 2.4rem;
  border-bottom: 1px solid #e6e6e6;

  /* Posição relativa para o pseudo-elemento ::before */
  position: relative;
  overflow: hidden; /* Esconde o degradê fora da caixa */
  
  /* Transição suave para a cor do título */
  transition: color 0.4s ease;
}
.s-processo .etapa-item:last-child {
  border-bottom: none;
}
.s-processo .etapa-item .etapa-icone,
.s-processo .etapa-item .etapa-texto {
  /* Põe o conteúdo (ícone e texto) ACIMA do degradê */
  position: relative;
  z-index: 2;
}

/* O degradê animado (de baixo para cima) */
.s-processo .etapa-item::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  
  /* O teu degradê roxo claro, de baixo para cima */

  
  /* Começa em baixo (escondido) */
  transform: translateY(100%);
  
  /* Velocidade da animação */
  transition: transform 0.4s ease-out;
  
  z-index: 1; /* Fica atrás do texto, mas acima do fundo */
}

/* O ESTADO ATIVO (Controlado pelo JavaScript) */
.s-processo .etapa-item.active::before {
  transform: translateY(0%); /* Sobe o degradê */
}
.s-processo .etapa-item.active .etapa-texto h3 {
  color: #653df5; /* Destaca o título */
}

/* ======================================== */


.s-processo .etapa-icone {
  width: 4rem;
  height: 4rem;
  flex-shrink: 0;
}
.s-processo .etapa-icone img {
  width: 100%;
  height: 100%;
}
.s-processo .etapa-texto h3 {
  font-size: 3.2rem;
  margin-bottom: 1.6rem;
  /* Adiciona transição para a mudança de cor */
  transition: color 0.3s ease;
}
.s-processo .etapa-texto p {
  line-height: 1.5;
}


/* ========================================
   SECÇÃO COMO FAÇO (PROCESSO) - VERSÃO HTML/CSS
   ======================================== */

.s-processo {
  background-color: #fbfbfc;
  padding: 12rem 0;
  overflow: hidden; 
}

.s-processo .processo-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 6.4rem;
}

/* Coluna da Esquerda (Gráfico) */
.s-processo .processo-grafico {
  width: 100%;
  max-width: 50rem;
  flex: 1;
}
.s-processo .processo-grafico h2 {
  margin-bottom: 2.4rem;
}
.s-processo .processo-grafico p {
  font-size: 2rem;
  line-height: 1.5;
  max-width: 45rem;
  margin-bottom: 4.8rem;
}

/* Coluna da Direita (Lista) - NENHUMA MUDANÇA nos estilos da lista */
.s-processo .processo-lista {
  width: 100%;
  max-width: 60rem;
  flex: 1;
}
.s-processo .processo-lista ul {
  display: flex;
  flex-direction: column;
}
.s-processo .etapa-item {
  display: flex;
  align-items: start;
  gap: 2.4rem;
  padding: 4.8rem 2.4rem;
  border-bottom: 1px solid #e6e6e6;
  position: relative;
  overflow: hidden; 
  transition: color 0.4s ease;
}
.s-processo .etapa-item:last-child {
  border-bottom: none;
}
.s-processo .etapa-item .etapa-icone,
.s-processo .etapa-item .etapa-texto {
  position: relative;
  z-index: 2;
}
.s-processo .etapa-item::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 100%;

  transform: translateY(100%);
  transition: transform 0.4s ease-out;
  z-index: 1;
}
.s-processo .etapa-item.active::before {
  transform: translateY(0%);
}
.s-processo .etapa-item.active .etapa-texto h3 {
  color: #653df5;
}
.s-processo .etapa-icone {
  width: 4rem;
  height: 4rem;
  flex-shrink: 0;
}
.s-processo .etapa-icone img {
  width: 100%;
  height: 100%;
}
.s-processo .etapa-texto h3 {
  font-size: 3.2rem;
  margin-bottom: 1.6rem;
  transition: color 0.3s ease;
}
.s-processo .etapa-texto p {
  line-height: 1.5;
}

/* ========================================
   SECÇÃO COMO FAÇO (PROCESSO) - VERSÃO 16 (Interação Dupla)
   ======================================== */

.s-processo {
  background-color: #fbfbfc;
  padding: 12rem 0;
  overflow: hidden; 
}
.s-processo .processo-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 6.4rem;
}

/* Coluna da Esquerda (Gráfico) */
.s-processo .processo-grafico {
  width: 100%;
  max-width: 50rem;
  flex: 1;
}
.s-processo .processo-grafico h2 {
  margin-bottom: 2.4rem;
}
.s-processo .processo-grafico p {
  font-size: 2rem;
  line-height: 1.5;
  max-width: 45rem;
  margin-bottom: 4.8rem;
}

/* Coluna da Direita (Lista) */
.s-processo .processo-lista {
  width: 100%;
  max-width: 60rem;
  flex: 1;
}
.s-processo .processo-lista ul {
  display: flex;
  flex-direction: column;
}

/* Estilos do Item da Lista */
.s-processo .etapa-item {
  display: flex;
  align-items: start;
  gap: 2.4rem;
  padding: 4.8rem 2.4rem;
  border-bottom: 1px solid #e6e6e6;
  position: relative;
  overflow: hidden; 
  transition: color 0.4s ease;
  cursor: pointer; /* Adiciona o cursor de clique */
}
.s-processo .etapa-item:last-child {
  border-bottom: none;
}
.s-processo .etapa-item .etapa-icone,
.s-processo .etapa-item .etapa-texto {
  position: relative;
  z-index: 2;
}

/* O degradê animado (de baixo para cima) */
.s-processo .etapa-item::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 100%;

  transform: translateY(100%);
  transition: transform 0.4s ease-out;
  z-index: 1;
}

/* NOVO: Estilo para o Ícone SVG (Técnica de Máscara) */
.s-processo .etapa-icone {
  width: 4rem;
  height: 4rem;
  flex-shrink: 0;
}
.icon-svg {
  width: 100%;
  height: 100%;
  
  /* Cor inicial cinza (do teu design) */
  background-color: #ADB5BD; 
  
  /* Pega o 'style="--icon-url: ..."' do HTML */
  mask-image: var(--icon-url); 
  -webkit-mask-image: var(--icon-url);
  
  /* Ajustes da máscara */
  mask-size: contain;
  -webkit-mask-size: contain;
  mask-repeat: no-repeat;
  -webkit-mask-repeat: no-repeat;
  mask-position: center;
  -webkit-mask-position: center;
  
  /* Transição suave da cor do ícone */
  transition: background-color 0.3s ease;
}
/* Fim do estilo do Ícone */


.s-processo .etapa-texto h3 {
  font-size: 3.2rem;
  margin-bottom: 1.6rem;
  transition: color 0.3s ease;
}
.s-processo .etapa-texto p {
  line-height: 1.5;
}


/* ========================================
   SECÇÃO COMO FAÇO (PROCESSO) - VERSÃO 17 (Ícones Inline)
   ======================================== */

.s-processo {
  background-color: #fbfbfc;
  padding: 12rem 0;
  overflow: hidden; 
}
.s-processo .processo-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 6.4rem;
}

/* Coluna da Esquerda (Gráfico) */
.s-processo .processo-grafico {
  width: 100%;
  max-width: 50rem;
  flex: 1;
}
.s-processo .processo-grafico h2 {
  margin-bottom: 2.4rem;
}
.s-processo .processo-grafico p {
  font-size: 2rem;
  line-height: 1.5;
  max-width: 45rem;
  margin-bottom: 4.8rem;
}

/* Coluna da Direita (Lista) */
.s-processo .processo-lista {
  width: 100%;
  max-width: 60rem;
  flex: 1;
}
.s-processo .processo-lista ul {
  display: flex;
  flex-direction: column;
}

/* Estilos do Item da Lista */
.s-processo .etapa-item {
  display: flex;
  align-items: start;
  gap: 2.4rem;
  padding: 4.8rem 2.4rem;
  border-bottom: 1px solid #e6e6e6;
  position: relative;
  overflow: hidden; 
  transition: color 0.4s ease;
  cursor: pointer;
}
.s-processo .etapa-item:last-child {
  border-bottom: none;
}
.s-processo .etapa-item .etapa-icone,
.s-processo .etapa-item .etapa-texto {
  position: relative;
  z-index: 2;
}

/* O degradê animado (de baixo para cima) */
.s-processo .etapa-item::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 100%;

  transform: translateY(100%);
  transition: transform 0.4s ease-out;
  z-index: 1;
}


/* NOVO: Estilo para o Ícone SVG (Inline) */
.s-processo .etapa-icone {
  width: 4rem;
  height: 4rem;
  flex-shrink: 0;
}
.icon-svg-inline {
  width: 100%;
  height: 100%;
  transition: fill 0.3s ease;
}

.icon-svg-inline path {
  stroke: #292D32;
  transition: stroke 0.3s ease;
}

/* Fim do estilo do Ícone */

.s-processo .etapa-texto h3 {
  font-size: 3.2rem;
  margin-bottom: 1.6rem;
  transition: color 0.3s ease;
}
.s-processo .etapa-texto p {
  line-height: 1.5;
}


/* ========================================
   ESTADO ATIVO (Controlado pelo JavaScript)
   ======================================== */

/* Quando o item da lista está ativo... */
.s-processo .etapa-item.is-active::before {
  transform: translateY(0%); /* Sobe o degradê */
}
.s-processo .etapa-item.is-active .etapa-texto h3 {
  color: #653df5; /* Destaca o título */
}
/* ...o ícone muda de cor */
.s-processo .etapa-item.is-active .icon-svg-inline path {
  stroke: #653df5; /* Tua cor principal */
}

/* Quando o círculo do gráfico está ativo... */
.circulo-nodo-html.is-active {
  background-color: #f4f1ff;   /* Fundo roxo claro */
  border-color: #653df5;     /* Linha roxa */
  color: #653df5;            /* Texto roxo */
}


/* ========================================
   ESTILO DO GRÁFICO (HTML/CSS + SVG Fundo) - VERSÃO 23/24 (Cometa Sólido)
   ======================================== */

.grafico-html-container {
  width: 100%;
  max-width: 500px;
  aspect-ratio: 1 / 1; 
  position: relative;
  margin-left: -22px;
}

/* CAMADA 1: O SVG com as setas (POR CIMA) */
.grafico-setas-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 4; 
  pointer-events: none; 
}

/* Estilo da "Trilha" (Estática, com gradiente do HTML) */
.grafico-setas-bg .seta-trilha {
  fill: none;
  stroke-width: 1.5px;
  /* O stroke usa o gradiente definido no SVG */
}

/* Estilo do "Cometa" (Roxo, SÓLIDO e Animado) */
.grafico-setas-bg .seta-cometa {
  fill: none;
  stroke: #653df5; /* Cor roxa sólida */
  stroke-width: 1.5px; 
  stroke-dasharray: 30 300; /* O cometa */ 
  
  /* Removemos a linha 'filter: url(...)' */

  animation: animacao-cometa 4.5s linear infinite; /* Usando 4.5s */
}

/* Animação do Cometa */
@keyframes animacao-cometa {
  from {
    stroke-dashoffset: 0;
  }
  to {
    stroke-dashoffset: -330; 
  }
} 

/* Sincronização dos Cometas (com 4.5s de duração) */
#cometa-pesq-design {
  animation-delay: 0s; 
}
#cometa-design-dev {
  animation-delay: 1.5s; 
}
#cometa-dev-pesq {
  animation-delay: 3s; 
}


/* CAMADA 2: Os Círculos (HTML DIVs) (POR BAIXO) */
.circulo-nodo-html {
  background-color: #fbfbfc;
  border: 1.5px solid #ADB5BD;
  border-radius: 50%;
  position: absolute;
  z-index: 2; 
  width: 50%; 
  height: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  font-size: 1.8rem; 
  font-weight: 600;
  color: #343A40;
  cursor: pointer;
  transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}
.circulo-nodo-html:hover {
  background-color: #f4f1ff;
  border-color: #653df5;
  color: #653df5;
}
.circulo-nodo-html.is-active {
  background-color: #f4f1ff;
  border-color: #653df5;
  color: #653df5;
}

/* Posições exatas de cada círculo */
#nodo-pesquisa { 
  top: 3%; 
  left: 25%;
  z-index: 3; 
}
#nodo-desenvolvimento { 
  top: 45%; 
  left: 5%; 
  z-index: 2;
}
#nodo-design { 
  top: 45%; 
  left: 45%; 
  z-index: 2;
}


/* ========================================
   RESPONSIVO (SECÇÃO PROCESSO)
   ======================================== */

@media (max-width: 991px) {
  .s-processo { padding: 8rem 0; }
  .s-processo .processo-wrapper { flex-direction: column-reverse; gap: 6.4rem; }
  .s-processo .processo-grafico { order: 2; text-align: center; }
  .s-processo .processo-grafico p { max-width: 100%; }
  .grafico-html-container { margin: 0 auto; }
  .s-processo .processo-lista { order: 1; max-width: 100%; }
}
@media (max-width: 768px) {
  .s-processo .etapa-item { padding: 3.2rem 1.6rem; gap: 1.6rem; }
  .s-processo .etapa-texto h3 { font-size: 2.8rem; }
}
@media (max-width: 560px) {
  .s-processo { padding: 6rem 0; }
  .s-processo .processo-grafico p { font-size: 1.8rem; }
  .s-processo .etapa-texto h3 { font-size: 2.4rem; }
  .s-processo .etapa-texto p { font-size: 1.6rem; }
  .grafico-html-container { max-width: 400px; }
  .circulo-nodo-html { font-size: 1.6rem; }
}


/***********************************/

.sobre {
  padding-top: 12rem;
}

.sobre .content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.sobre  .headline {
  margin-bottom: 7.2rem;
}

.sobre .content .dir {
  width: 100%;
  max-width: 48.9rem;

}

.sobre .content .dir img {
  border-radius: 0.6rem; 
}

.sobre .content .esc {
  width: 100%;
  max-width: 59.2rem;
}

.sobre .content .esc span:first-of-type {
  display: block;
  margin-bottom: 2.4rem;
}


.sobre .content .esc p:first-of-type {
  font-size: 2.2rem;
  font-weight: 400;
  color: #212529;
  padding-bottom: 3.2rem;
}

.sobre .content .esc p {
  font-size: 1.8rem;
  font-weight: 300;
  padding-bottom: 0.8rem;
  line-height: 150%;
}

.sobre .content .esc p:last-of-type {
  padding-bottom: 4.8rem;
}

/*.sobre .content .esc .social a {
  display: flex;
  gap: 0.8rem;
  color:#212529;
} */

.sobre .content .esc .social a {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  color: #212529;
  text-decoration: none;
  transition: color 0.3s ease;
}

.sobre .content .esc .social a::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #7f5ff5;
  transition: width 0.3s ease;
}

.sobre .content .esc .social a:hover {
  color: #7f5ff5;
}

.sobre .content .esc .social a:hover::after {
  width: 100%;
}

/* ====== Responsividade ====== */

/* Telas médias (tablets: ≤ 991px) */
@media (max-width: 991px) {
  .sobre {
    padding-top: 8rem;
  }

  .sobre .content {
    flex-direction: column;
    text-align: center;
    gap: 4rem;
  }

  .sobre .content .dir {
    max-width: 40rem;
    order: 1; /* imagem vem primeiro */
  }

  .sobre .content .esc {
    order: 2;
    max-width: 90%;
  }

  .sobre .content .esc h3 {
    font-size: 2.6rem;
  }

  .sobre .content .esc p:first-of-type {
    font-size: 2rem;
  }

  .sobre .content .esc p:last-of-type {
    font-size: 1.6rem;
  }

  .sobre .content .esc .social {
    justify-content: center;
  }
}

/* Telas pequenas (smartphones: ≤ 575px) */
@media (max-width: 575px) {
  .sobre {
    padding-top: 6rem;
  }

  .sobre .headline {
    margin-bottom: 4rem;
    text-align: center;
  }

  .sobre .headline span {
    font-size: 1.6rem;
    color: #282829;
    opacity: 0.8;
  }

  .sobre .headline h2 {
    font-size: 5.6rem;
  }

  .sobre .content .dir {
    max-width: 100%;
  }

  .sobre .content .esc {
    max-width: 100%;
  }

  .sobre .content .esc h3 {
    font-size: 2.2rem;
  }

  .sobre .content .esc p:first-of-type {
    font-size: 1.8rem;
  }

  .sobre .content .esc p:last-of-type {
    font-size: 1.5rem;
    text-align: left;
  }

  .sobre .content .esc .social img {
    width: 20px;
    height: 20px;
  }

  .sobre .content .esc .social a {
    font-size: 1.4rem;

  }

}

/***********************************/

.tec .container {
  position: relative;
}

.tec .container::before,
.tec .container::after {
  content: "";
  position: absolute;
  top: 0;
  width: 100px; /* ajuste o valor */
  height: 100%;
}

.tec .container::before {
  left: 0;
  background: linear-gradient(to right, #fff, rgba(255, 255, 255, 0));
  z-index: 1;
}

.tec .container::after {
  right: 0;
  background: linear-gradient(to left, #fff, rgba(255, 255, 255, 0));
}

.tec .container {
  width: 100%;
  overflow: hidden;
}

.tecs {
  display: flex;
  white-space: nowrap;
  padding: 5.6rem 0;
  gap: 1.6rem;
  animation: carrossel 15s linear infinite;
}

@keyframes carrossel {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%);
  }
}

footer {
  padding: 12rem 0 4rem 0;
  background-color: #512bda;
}

footer .content {
  display: flex;
  justify-content: space-between;
  padding-bottom: 6.4rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  margin-bottom: 56px;
}

footer .content .left {
  display: flex;
  flex-direction: column;
  gap: 6.4rem;
  width: 100%;
  max-width: 32.8rem;
}

footer .content .left h3 {
  color: #fff;
}

footer .content .left ul,
.right .mobile {
  display: flex;
  gap: 1.6rem;
}

footer .content .right {
  width: 100%;
  max-width: 58.7rem;
}

footer .content .right .mobile {
  justify-content: center;
  margin-top: 1.6rem;
}

footer .content .right p {
  color: #fff;
  line-height: 120%;
  margin-bottom: 3.2rem;
}

footer .content .right button.footer {
  background-color: transparent;
  padding: 1.6rem 0;
  border: none;
  position: relative;
}

footer .content .right button.footer::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background-color: #fff;
  transition: width 0.5s;
}

footer .content .right button.footer:hover::before {
  width: 100%;
}

footer .content .right ul.mobile {
  display: none;
}

footer .content-copy {
  display: flex;
  justify-content: space-between;
}

footer .content-copy .copy {
  display: flex;
  align-items: center;
  gap: 32px;
}

footer .content-copy .copy p {
  color: #fff;
}

footer .content-copy img {
  filter: brightness(0) invert(100%);
}

/** Media Queries **/
/* Geral */

@media (max-width: 1200px) {
  .s-porti .card {
    width: calc((100% - 32px) / 2);
    max-width: 56.8rem;
  }
}

@media (max-width: 1024px) {
  h1 {
    font-size: 8rem;
  }
}

/* Ajustes para tablets */
@media (max-width: 768px) {
  h1 {
    font-size: 5.6rem;
  }
  button {
    font-size: 1.6rem;
  }
  .s-hero .container p {
    font-size: 2.2rem;
  }
  .s-porti .card {
    width: 100%;
    margin: 0 auto;
  }

  .s-servicos .servico {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 2.4rem;
  }
  footer .content .right {
    width: 100%;
    max-width: 34rem;
  }
  footer .content .right p {
    margin-bottom: 2.4rem;
  }
}

/* Ajustes para dispositivos pequenos */
@media (max-width: 560px) {
  h1 {
    font-size: 4rem;
  }
  .s-hero .container p {
    font-size: 1.8rem;
  }
  h2 {
    font-size: 5.6rem;
  }

  .headline {
    margin-bottom: 8rem;
    flex-direction: column;
  }

  .s-porti .headline p {
    width: 100%;
    text-align: center;
    margin-top: 1.6rem;
  }

  .headline > img {
    display: none;
  }
  .s-servicos {
    padding: 0;
  }
  .s-servicos .headline {
    flex-direction: column;
    justify-content: start;
    padding-top: 8rem;
    gap: 2.4rem;
  }

  footer {
    padding: 8.8rem 0 4rem 0;
  }

  footer .content {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 2.4rem;
  }
  footer .content .left {
    gap: 2.4rem;
  }
  footer .content .left ul {
    justify-content: center;
    margin-bottom: 2.4rem;
  }

  footer .content .left ul.desktop {
    display: none;
  }

  footer .content .right ul.mobile {
    margin-top: 2.4rem;
    display: inline-flex;
  }

  footer .content .right button {
    display: inline-flex;
  }

  footer .content-copy .copy {
    justify-content: space-around;
    text-align: center;
    gap: 8px;
  }
}

/* Ajustes para dispositivos muito pequenos */
@media (max-width: 320px) {
  button {
    font-size: 1.6rem;
    padding: 1.8rem 1.8rem;
  }
  .s-hero .container p {
    font-size: 1.8rem;
  }
  .s-porti .card {
    width: 100%;
  }

  footer .content-copy {
    flex-direction: column;
    align-items: center;
    gap: 2.4rem;
    text-align: center;
  }

  footer .content-copy img {
    width: 4rem;
  }

  footer .content-copy .copy {
    flex-direction: column;
  }
}
