* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', sans-serif;
}

body {
  margin: 0;
  min-height: 100vh;
  color: #fff;
  overflow-x: hidden;

  background-image:
    linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)),
    url('../img/backgrounds/000.png');

  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

/* ===== BODY MOBILE ===== */

@media (max-width: 768px) {
  body {
    background-attachment: scroll; /* remove o fixed */
    background-position: top center;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    background-attachment: fixed;
  }
}

section {
  padding: 120px 8% 20px;
  min-height: 90vh;
}

/* ===== SECTION MOBILE ===== */

section {
  padding: 120px 8% 20px;
  min-height: 90vh;
}

/* Tablets */
@media (max-width: 1024px) {
  section {
    padding: 90px 6% 20px;
    min-height: auto;
  }
}

/* Mobile */
@media (max-width: 768px) {
  section {
    padding: 70px 5% 20px;
    min-height: auto;
  }
}

/* Mobile pequeno */
@media (max-width: 480px) {
  section {
    padding: 60px 4% 16px;
  }
}


/* ===== HEADER ===== */
header {
  position: fixed;
  top: 0;
  width: 100%;
  height: 80px;
  padding: 0 8%;        /* REMOVE padding vertical */
  display: flex;
  justify-content: space-between;
  align-items: center;
  backdrop-filter: blur(20px);
  background: rgba(0,0,0,0.1);
  z-index: 1000;
  box-sizing: border-box;
}

.menu-toggle{
  display: none;
}

.logo{

  padding-top: 15px;
}

.logo img {
  width: clamp(50px, 8vw, 120px);
  height: auto;
  margin-top: 5px;
}


nav ul {
   list-style: none;
  display: flex;
  gap: clamp(16px, 4vw, 80px);
  padding: 0;
  margin: 0;
}

nav a {
  text-decoration: none;
  color: #fff;
  font-weight: 500;
  position: relative;
  font-size: 18px;
  font-size: clamp(11px, 1.2vw, 12px);
  font-size: 15px;
}

nav a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  background: #0ab7e2;
  left: 0;
  bottom: -6px;
  transition: 0.5s;
}

nav a:hover::after {
  width: 100%;
}

/* ===== MOBILE HEADER ===== */
@media (max-width: 768px) {

  /* botão hamburguer */
  .menu-toggle {
    display: block;
    font-size: 20px;
    color: #fff;
    cursor: pointer;
  }

  /* esconde menu inicialmente */
  nav {
    position: absolute;
    top: 62px;
    left: 0;
    width: 100%;
    background: rgba(55, 83, 83, 0.80);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
  }

  nav.active {
    max-height: 300px;
  }

  nav ul {
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 20px 0;
  }

  .logo img{
    width: 70px;
}



}


/* ===== WHATSAPP FLUTUANTE (DIREITA) ===== */

.whatsapp-float {
  position: fixed;
  right: 20px;
  bottom: 40px;
  width: 50px;
  height: 50px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px rgba(0,0,0,0.3);
  z-index: 999;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.whatsapp-float img {
  width: 35px;
  height: 35px;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 15px 35px rgba(0,0,0,0.4);
}


.whatsapp-float.pulse {
  animation: pulse 0.6s;
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.15);
  }
  100% {
    transform: scale(1);
  }
}

/* ===== MOBILE WHATSAP FLUTUANTE ===== */

@media (max-width: 900px) {
  .whatsapp-float {
    right: 15px;
    bottom: 20px;
  }
}

/* ======================================= */

/* ===== SECTION HOME JPCORP ===== */

.hero {
  display: flex;
  align-items: center;
  justify-content: center;

  padding: clamp(100px, 10vh, 180px) clamp(40px, 6vw, 120px);
  gap: clamp(24px, 4vw, 60px);

  min-height: 100vh;
  min-height: 95svh;

  background-image:
    linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)),
    url('../img/backgrounds/teste.avif');

  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;

  background-attachment: fixed; /* desktop */
}


/* TEXTO */

#typing-text::after {
    content: '|';
    margin-left: 5px;
    animation: blink 1s infinite;
}

.hero-text {
  flex: 1 1 360px;
  max-width: 750px;
  text-align: left;
  
}

.hero-text h3 {
  font-size: clamp(2.2rem, 4vw, 4rem);
  line-height: 1.3;
}

.hero-text span {
  color: #0ab7e2;
}

.hero-text p {
  margin: 16px 0;
  max-width: 100%; /* 🔥 chave */
  width: auto;     /* 🔥 remove o empurrão */
  font-size: clamp(0.95rem, 1.2vw, 1rem);
  opacity: 0.85;
}


/* MÉTRICAS */
.hero-metrics {
  flex: 1 1 280px;
  max-width: 420px;
  display: flex;
  flex-direction: column;
  gap: clamp(20px, 4vw, 50px);
  text-align: center;
}

/* NÚMEROS */
.metric h3 {
  font-size: clamp(1.8rem, 5vw, 3.2rem);
  color: #90DCDE;
}

.metric span {
  color: #ccc;
  font-size: clamp(0.75rem, 1.5vw, 0.9rem);
}

.btn-fale {
  display: inline-block;
  padding: 14px 28px;
  background: #375353;
  color: white;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  transition: transform 0.3s, box-shadow 0.3s;
}

.btn-fale:hover {
  transform: translateY(-5px);
  background-color: #0ab7e2;
}

/* ===== SECTION HOME MOBILE JPCORP ===== */

@media (max-width: 768px) {

  .hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 90px 24px 15px;
    gap: 30px;
    min-height: 85vh;
    background-image:
      linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)),
      url('../img/backgrounds/teste.avif');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    background-attachment: scroll; /* 🔥 mobile-safe */
  }

  .hero-text {
    text-align: center;
    width: 100%;
  }

  .hero-text h3,
  .hero-text p,
  .hero-text span {
    text-align: center;
  }

  .hero-text p {
    margin: 16px auto;
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .hero-metrics {
    padding: 0;
  }

  .metric h3 {
    font-size: 50px;
  }

  .metric span {
    font-size: 12px;
    text-align: center;
    
  }
  }
  
@media (max-width: 768px) {

  .hero-text {
    padding: 0;
    margin: 0 auto;
    width: 100%;
    max-width: 360px; 
    text-align: center;
  }

  .hero-text h3 {
    font-size: 2.5rem;
    line-height: 1.3;
    padding-top: 30px;
  }

  .hero-text p {
    max-width: 100%;
    font-size: 0.92rem;
    margin: 15px 0;
    padding-bottom: 15px;
  }
}

@media (max-width: 768px) {
 #typing-text{
   font-size: 26px;
   max-width: 100%;
   
  
    }
}

@media (max-width: 768px) {
  .btn-fale {
    padding: 15px 20px;   
    font-size: 14px;     
    border-radius: 12px;
    height: 48px;
    font-weight: 600;
  }
}
/* ======================================= */


.arrow-down {
  width: 100%;
  text-align: center;
  font-size: 100px;
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
  animation: bounce 2s infinite;
}


@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
    opacity: 0.7;
  }
  40% {
    transform: translateY(8px);
    opacity: 1;
  }
  60% {
    transform: translateY(4px);
  }
}



/* ===== SECTION SERVIÇOS===== */
.software-section {
  padding:  0 0 100px 0;
  min-height: 200px;
  background-color: #ffffff;

}

.container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  padding-top: 100px;
  padding-bottom: 10px;
  gap: 40px;

}

/* COLUNA ESQUERDA */
.content {
  flex: 1;
  
}

.content h2 {
  text-align: center;
  font-size: 30px;
  margin-bottom: 40px;
  line-height: 1.2;
  font-weight: 600x;
  color: #0ab7e2;
}

.item {
  display: flex;
  gap: 20px;
  margin-bottom: 28px;
  
}

.icon {
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  
}

.icon img{
    width: 52px;
}

.item:nth-child(4) .icon img {
  width: 55px;

}

.item h3 {
  font-size: 20px;
  margin-bottom: 6px;
  font-weight: 700;
  color: #0ab7e2;
}

.item p {
  font-size: 16px;
  line-height: 1.6;
  font-weight: 500;
  color: #66999A;
}

/* COLUNA DIREITA */
.images {
  flex: 1;
  position: relative;

}

.images img {
  border-radius: 15px;
  width: 100%;


}

.img-top {
  max-width: 350px;
  margin-left: auto;
  margin-bottom: 30px;
}

.img-bottom {
  width: 850px

}

/* RESPONSIVO */
@media (max-width: 758px) {

  .software-section{
    padding: 25PX 0 0 0;
  }
  .content h2{
    font-size: 35px;
    text-align: center;
  }

  .content{
    padding: 25px;
  }
  .container {
    padding-top: 20px;
    flex-direction: column;
  }

  .images {
    margin-top: 40px;
    display: none;
  }

  .img-top,
  .img-bottom {
    max-width: 100%;
  }
}

@keyframes blink {
    0%, 50%, 100% {
        opacity: 1;
    }
    25%, 75% {
        opacity: 0;
    }
}
/* ======================================= */

/* ===== SECTION SOLUÇÕES===== */


.jp-solucoes-header {
  padding: 0;
  min-height: 0;
  padding-top: 50px;
 
}

.jp-solucoes-header h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 10px;
}

.jp-solucoes-header p {
  font-size: 1.2rem;
  color: #ccc;
  text-align: center;
}


@media (max-width: 768px) {


  .jp-solucoes-header {
    padding: 30px 20px 0 20px;
    min-height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;      /* centraliza horizontal */
    justify-content: center;  /* centraliza vertical */
    text-align: center;
  }

  .jp-solucoes-header h2 {
    font-size: 30px;
    max-width: 320px;
    margin: 0 auto 12px;
   
  }

  .jp-solucoes-header p {
    font-size: 14px;
    max-width: 250px;
    margin: 0 auto;
    
  }
}

#solucoes .card {
  opacity: 0;
  transform: translateY(20px) scale(0.96);
  transition: all 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

#solucoes .card.show {
  opacity: 1;
  transform: translateY(0) scale(1);
}

#solucoes{
  min-height: 200px;
  padding-top: 20px;
  
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 15px;
}

.card {
  position: relative;
  padding: 40px 30px;
  border-radius: 12px;
  color: #fff;
  min-height: 500px;
  background-size: cover;
  background-position: center;
  overflow: hidden;
  
}

/* overlay para leitura */
.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.70),
    rgba(0,0,0,0.95)
 
  );

  backdrop-filter: blur(3px);
  background: rgba(0,0,0,0.7);
}

.card h1{
  position: relative;
  z-index: 1;
  color: #ffffff;
  text-align: center;

}
.card p {
  position: relative;
  z-index: 1;
  text-align: center;
  font-size: 18px;
  margin-top: 15px;
  line-height: 1.5;
 
}

/* Hover corporativo */
.card:hover {
  transform: translateY(-8px);
  box-shadow: 10px 25px 50px #2a383a;
  
}

/* IMAGENS ESPECÍFICAS */
.card-industrial {
  background-image: url("../img/backgrounds/gestão_industrial.jpg");
}

.img-rodape-industrial {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 35px;            
  align-items: center;
}

.img-rodape-industrial img {
  width: 130px;
 
}

/* MOBILE */

@media (max-width: 768px) {
  .card-industrial {
    padding-bottom: 130px; /* mais espaço para a logo */
  }

  .img-rodape-industrial {
    bottom: 15px; /* ajusta a posição */
    gap: 5px
  }

  .img-rodape-industrial img {
    width: 100px; /* reduz a logo */
  }
}


.card-vendas {
  background-image: url("../img/backgrounds/gestão_vendas.png");
}

.img-rodape-vendas {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 35px;            
  align-items: center;
}

.img-rodape-vendas img {
  width: 150px;
 
}

/* MOBILE */

@media (max-width: 768px) {
  .card-vendas {
    padding-bottom: 130px; /* mais espaço para a logo */
  }

  .img-rodape-vendas {
    bottom: 15px; /* ajusta a posição */
  }

  .img-rodape-vendas img {
    width: 100px; /* reduz a logo */
  }
}

.card-logistica {
  background-image: url("../img/backgrounds/applog.png");
  padding-bottom: 120px;
}

.img-rodape {
  position: absolute;
  bottom: 20px; /* cola no fundo */
  left: 50%;
  transform: translateX(-50%);
}

.img-rodape img {
  width: 140px;
  
}

/* ============================================= */
/* ===== CASES DE SUCESSO - LOOP INFINITO ===== */

#cases{

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3px;
    padding: 100px 8%;
    min-height: 0px;
}

#cases h2 {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease;
  text-align: left;
  font-size: 35px;
  width: 350px;
}

#cases h2.show {
  opacity: 1;
  transform: translateY(0);
}

#cases p {
  min-height: 300px; /* evita pular layout enquanto digita */
  width: 500px;
  font-family: inherit;
  line-height: 1.6;
  text-align: left;
}

.cases-container {
  overflow: hidden;
  border-radius: 20px;
  padding: 30px 0 50px;
}

.cases-container {
  mask-image: linear-gradient(
    to right,
    transparent,
    black 10%,
    black 90%,
    transparent
  );
}


.cases-track {
  display: flex;
  width: max-content;
  animation: scrollInfinite 35s linear infinite;

}



#cases-sucesso {
  border-radius: 12px;
  min-height: 100px;
  padding: 0 0 40px 0;
  margin: 0;
}

#cases-sucesso .card-case {
  display: flex;
  justify-content: center;  /* centraliza os cards na seção */
  gap: 20px;
  flex-wrap: wrap;
  max-width: 1000px;       /* largura máxima da linha de cards */
  margin: 0 auto;           /* centraliza o container */

}

#cases-sucesso .card-case > div {
  flex: 0 1 300px;          /* largura fixa aproximada de 300px, flexível para mobile */
  border-radius: 12px;
  padding: 20px;
  text-align: center;
}

#cases-sucesso h1 {
  font-size: 2rem;
  margin-bottom: 10px;
}

#cases-sucesso p {
  font-size: 1rem;
  color: #fff;
}

#cases-sucesso img {
  margin-top: 10px;
  max-width: 60px;
  height: auto;
}

@media (max-width: 728px) {
  #cases {
    display: flex;
    flex-direction: column;
    justify-content: center;
  
    
  }

  .cases-text {
    
    flex-direction: column;
    align-items: center; 
    padding-bottom: 10px;
  }

  .cases-text h2 {
    padding-left: 35px;
    
  }

  .cases-text p {
    max-width: 300px;
    padding-left: 35px;  
  }

  .cases-container{
    margin-top: 10px;
  }

}


@keyframes scrollInfinite {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}



.case-logo {
  min-width: 180px;
  height: 100px;
  margin: 0 30px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-weight: 600;
}

.logo-avell {
  width: 135px;
  height: auto;
}

.logo-eco {
  width: 110px;
  height: auto;
}

.logo-copapel {
  width: 170px;
  height: auto;
}

.logo-soft{
  width: 200px;
  height: auto;
}

.logo-taf{
  width: 80px;
  height: auto;
}

.logo-oralunic{
  width: 180px;
  height: auto;
  margin-top: 10px;
}

.logo-erzinger{
  width: 150px;
  height: 90px;
  margin-bottom: 15px;
}


.logo-quimidrol{
  width: 180px;
  height: auto;
  margin-top: 10px;
}

.logo-creare{
  width: 140px;
  height: auto;
  margin-top: 20px;
}

.logo-tecnaut{
  width: 180px;
  height: auto;
  
}

.logo-imes{
  width: 150px;
  height: auto;
  margin-top: 10px;
}

.logo-biobase{
  width: 180px;
  height: auto;
}

.logo-complaser{
  width: 160px;
  height: auto;
  margin-top: 10px;
}

.logo-cisa-brasile{
  width: 120px;
  height: auto;

}

.logo-teclean{
  width: 150px;
  height: auto;
  
}


.card-fat-gerenciado h1{
    color: #00e1ffb7;
}

.card-backoffice h1{
    color: #00e1ffb7;
}

.card-ecossistema h1{
    color: #00e1ffb7;
}



.jp-image-section {
  flex: 1;
  text-align: center;
  padding: 0;
  padding: 80px 8%;
}

.jp-image-section img {
  width: 500px;
  max-width: 700px;
  height: auto;
}

.jp-metrics {
  flex: 1;
  display: flex;
  flex-direction: column; 
  gap: 60px; /* espaçamento entre os cards */

  
}

.jp-metric {
   background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    overflow: hidden; 
    padding: 0;       
    width: 400px;

}

.metric-header {
    background-color: #35464b; /* cor da faixa */
    color: #fff;
    font-weight: 700;
    font-size: 1.1rem;
    padding: 15px 20px;
    text-align: center;
}

.jp-metric p {
    padding: 15px 20px;
    margin: 0;
    color: #fff;
    text-align: center;
}


.jp-metric:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.25);
}

@media (max-width: 900px) {
  .jp-hero-container {
    flex-direction: column;
    text-align: center;
  }

  .jp-metrics {
    grid-template-columns: 1fr;
  }
}

.contact-section {
  padding: 60px 20px;
  max-width: 600px;
  min-height: 700px;
  margin: 0 auto;
  text-align: center;
  color: #fff;
  font-family: 'Inter', sans-serif;
}

.contact-section h2 {
  font-size: 2rem;
  margin-bottom: 10px;
}

.contact-section p {
  font-size: 1rem;
  margin-bottom: 40px;
  color: #ccc;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 35px;
}

.form-group {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.form-group label {
  margin-bottom: 5px;
  font-weight: 600;
}

.form-group input {
  padding: 12px 15px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  outline: none;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-group input::placeholder {
  color: #ccc;
}

.form-group input:focus {
  border-color: #66999A;
  background: rgba(255, 255, 255, 0.1);
}

.btn {
  padding: 15px;
  border: none;
  border-radius: 7px;
  background: #66999A;
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  width: 250px;
  cursor: pointer;
  transition: background 0.3s ease;
  
  /* centraliza horizontalmente */
  display: block;
  margin: 0 auto;
}

.btn:hover {
  background: rgb(37, 150, 127);
}

.btn.loading {
  pointer-events: none;
}

.btn.loading::after {
  content: ' ⏳';
}


@media (max-width: 600px) {
  .contact-section {
    padding: 40px 15px;
  }
}


.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  text-align: center;
}

#img-telefone-footer {
  width: 18px; 
  height: auto;
}

#img-email-footer {
  width: 15px;   
  height: auto;
}

.footer-col h3,
.footer-col h4 {
  color: #fff;
  margin-bottom: 10px;
}

.footer-col p {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.75);
}

.footer-col a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
}

.footer-col a:hover {
  color: #25d366;
}

.footer-bottom {
  margin-top: 30px;
  padding-top: 15px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  padding-bottom: 15px;
}

/* RESPONSIVO */
@media (max-width: 768px) {
  .jp-footer {
    text-align: center;
  }
}
