/* Arquivo: css/style.css */

/* VARIÁVEIS DE COR */
:root {
  --color-dark-blue: #0A192F;
  /* Fundo principal */
  --color-cyan: #64FFDA;
  /* Destaque / CTA */
  --color-black: #000000;
  /* Rodapé / Detalhes */
  --color-light: #FFFFFF;
  /* Texto principal */
  --color-off-white: #CCD6F6;
  /* Texto secundário */
}

/* RESET E TIPOGRAFIA */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
  /* Rolagem suave nativa */
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', sans-serif;
  color: var(--color-light);
  background-color: var(--color-dark-blue);
  line-height: 1.6;
  overflow-x: hidden;
  /* Evita barra de rolagem horizontal */
}

/* ESTRUTURA E SEÇÕES */
.section-padding {
  padding: 60px 5%;
  position: relative;
  z-index: 1;
  /* Garante que o conteúdo fique acima do particles */
}

.dark-bg {
  background-color: var(--color-black);
}

.section-title {
  font-size: 2.5rem;
  color: var(--color-cyan);
  text-align: center;
  margin-bottom: 60px;
  font-weight: 700;
}

.section-title.white {
  color: var(--color-light);
}

.subtitle.white {
  color: var(--color-off-white);
  text-align: center;
  margin-bottom: 40px;
}

/* NAVEGAÇÃO FIXA */

#header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(10, 25, 47, 0.95);
  /* Azul profundo com transparência */
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
  z-index: 1000;
  transition: background-color 0.3s;
}

/* Container da navegação */
.container-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 40px;
  position: relative;
  z-index: 1000;
}

/* Logo */
.logo img {
  height: 55px;
}

/* Nav padrão */
nav {
  display: flex;
  align-items: center;
  gap: 25px;
}

nav a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  transition: 0.3s;
}

nav a:hover {
  color: #00aaff;
}

.btn-cta-nav {
  background: #0077ff;
  padding: 8px 18px;
  border-radius: 6px;
  color: #fff;
  font-weight: 600;
  transition: 0.3s;
}

.btn-cta-nav:hover {
  background: #0099ff;
}

/* Botão hamburguer */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  background: none;
  border: none;
  cursor: pointer;
  margin: 3% 0;
}

.hamburger span {
  display: block;
  height: 3px;
  width: 100%;
  background: #fff;
  border-radius: 5px;
  transition: 0.3s;
}

/* Menu mobile */
@media (max-width: 768px) {
  nav {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 70px;
    align-items: flex-start;
    right: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.9);
    padding: 20px;
    border-radius: 0 0 0 10px;
  }

  nav a {
    margin: 10px 0;
    text-align: right;
  }

  .hamburger {
    display: flex;
  }

  /* Quando o menu estiver ativo */
  nav.active {
    display: flex;
  }

  /* Animação do botão */
  .hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translateY(13px);
  }

  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translateY(-13px);
  }

  .container-nav {
    flex-direction: row !important;
  }
}

a {
  text-decoration: none;
  color: #D6D6D6;
}


.btn-cta-nav {
  background-color: var(--color-cyan);
  color: var(--color-dark-blue) !important;
  padding: 8px 15px;
  border-radius: 4px;
  font-weight: 600;
  transition: transform 0.2s, opacity 0.2s;
}

.btn-cta-nav:hover {
  transform: translateY(-2px);
  opacity: 0.9;
}

/* BOTÃO CTA GRANDE */
.btn-cta-large {
  display: inline-block;
  background-color: var(--color-cyan);
  color: var(--color-dark-blue) !important;
  padding: 15px 30px;
  border-radius: 5px;
  font-size: 1.1rem;
  font-weight: 700;
  text-decoration: none;
  margin-top: 20px;
  transition: background-color 0.3s, transform 0.2s;
  border: none;
  cursor: pointer;
}

.btn-cta-large:hover {
  background-color: #53e0c0;
  /* Um ciano um pouco mais claro */
  transform: translateY(-3px);
}


/* SEÇÃO HERO E PARTICLES.JS */
#particles-js {
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: var(--color-dark-blue);
  background-image: url('');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: 50% 50%;
  z-index: 0;
  /* Fica no fundo */
}

.hero-section {
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding-top: 80px;
  /* Compensa a altura do header fixo */
}

.hero-content {
  max-width: 800px;
  z-index: 1;
}

.hero-content h1 {
  font-size: 3.5rem;
  margin-bottom: 20px;
  color: var(--color-light);
  line-height: 1.2;
}

.hero-content p {
  font-size: 1.3rem;
  color: var(--color-off-white);
  margin-bottom: 30px;
}

.hero-content strong {
  color: var(--color-cyan);
}


/* GRIDS E CARDS */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto;
}

.value-card,
.testimonial-card,
.ceo-card {
  background-color: var(--color-dark-blue);
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  border-top: 3px solid var(--color-cyan);
  transition: transform 0.3s, box-shadow 0.3s;
}

.ceo-card img {
  width: 10rem;
  height: 9rem;
  border-radius: 50%;
  border: 0.5rem solid rgba(0, 0, 0, 0.1);
  display: flex;
  justify-content: center;
  margin: 0 auto;
}

.btn-social img {
  height: 2.5rem;
  width: 2.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border-radius: 100%;
}

.value-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(100, 255, 218, 0.1);
}

.value-card i {
  font-size: 3rem;
  color: var(--color-cyan);
  margin-bottom: 15px;
}

.value-card h3 {
  color: var(--color-light);
  margin-bottom: 10px;
}

/* ESTILOS DO FORMULÁRIO */
.form-section {
  text-align: center;
}

.orcamento-form {
  max-width: 600px;
  margin: 40px auto 0;
  text-align: left;
}

.form-group {
  margin-bottom: 20px;
}

.orcamento-form input,
.orcamento-form select,
.orcamento-form textarea {
  width: 100%;
  padding: 15px;
  border: 1px solid rgba(100, 255, 218, 0.3);
  border-radius: 4px;
  background-color: var(--color-dark-blue);
  color: var(--color-light);
  font-size: 1rem;
  transition: border-color 0.3s;
}

.orcamento-form input:focus,
.orcamento-form select:focus,
.orcamento-form textarea:focus {
  border-color: var(--color-cyan);
  outline: none;
}

.orcamento-form textarea {
  resize: vertical;
  min-height: 150px;
}

.form-submit-btn {
  width: 100%;
}

.success-message {
  color: var(--color-cyan);
  padding: 15px;
  background-color: rgba(100, 255, 218, 0.1);
  border: 1px solid var(--color-cyan);
  border-radius: 4px;
  max-width: 600px;
  margin: 20px auto;
  font-weight: 600;
}

.error-message {
  color: #ff6464;
  padding: 15px;
  background-color: rgba(255, 100, 100, 0.1);
  border: 1px solid #ff6464;
  border-radius: 4px;
  max-width: 600px;
  margin: 20px auto;
  font-weight: 600;
}

/* OUTROS ELEMENTOS (Ex: WhatsApp) */
.whatsapp-float {
  position: fixed;
  width: 55px;
  height: 55px;
  bottom: 40px;
  right: 40px;
  background-color: #25d366;
  color: #FFF;
  border-radius: 50px;
  text-align: center;
  font-size: 30px;
  line-height: 60px;
  box-shadow: 2px 2px 3px #999;
  z-index: 999;
  transition: transform 0.3s;
  align-items: center;
}

.whatsapp-float:hover {
  transform: scale(1.1);
}

/* RODAPÉ */
.footer-section {
  background-color: var(--color-black);
  color: var(--color-off-white);
  padding: 60px 5% 20px;
}

.container-footer {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto 30px;
}

.logo-footer {
  color: var(--color-cyan);
  margin-bottom: 15px;
}

.logo-footer img {
  width: 68px;
  height: 48px;
}

.footer-col h4 {
  color: var(--color-light);
  margin-bottom: 20px;
  font-size: 1.1rem;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li a {
  color: var(--color-off-white);
  text-decoration: none;
  display: block;
  margin-bottom: 8px;
}

.social-icons a {
  color: var(--color-off-white);
  font-size: 1.5rem;
  margin-right: 15px;
  transition: color 0.3s;
}

.social-icons a:hover {
  color: var(--color-cyan);
}

.footer-copy {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(100, 255, 218, 0.1);
  font-size: 0.85rem;
}

.stats-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
  letter-spacing: 2px;
  font-size: 20px;
}

.stat-item {
  padding: 20px;
}

/* RESPONSIVIDADE (MOBILE FIRST) */
@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2.5rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .container-nav {
    flex-direction: column;
    align-items: flex-start;
  }

  nav {
    margin-top: 10px;
  }

  nav a {
    margin-left: 0;
    margin-right: 15px;
    font-size: 0.9rem;
  }

  .whatsapp-float {
    bottom: 20px;
    right: 20px;
  }

  .logo-footer img {
    display: flex;
    width: 177px;
    height: 108px;
    text-align: center;
    margin: 0 auto;
  }

  .section-padding {
    padding: 0 5%;
  }
}

#clientes {
  /* background-color: #0A192F; */
  /* background-color: #ffffff; */
  /* From https://css.glass */
  background: rgba(205, 225, 255, 0.2);
  /* border-radius: 16px; */
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(6.1px);
  -webkit-backdrop-filter: blur(6.1px);
  border: 1px solid rgba(255, 255, 255, 0);
}

#particles-js {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -3;
  /* atrás de tudo */
}

.page-section h2.section-heading,
.page-section .section-heading.h2 {
  font-size: 2.5rem;
  margin-top: 0;
  margin-bottom: 1rem;
}

.page-section {
  padding: 6rem 0;
}

.page-section h2.section-heading,
.page-section .section-heading.h2 {
  font-size: 2.5rem;
  margin-top: 0;
  margin-bottom: 1rem;
}

.page-section h3.section-subheading,
.page-section .section-subheading.h3 {
  font-size: 1rem;
  font-weight: 400;
  font-style: italic;
  font-family: "Roboto Slab", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  margin-bottom: 4rem;
}

.img-fluid {
  max-width: 100%;
  height: 67px;
}

.rounded-circle {
  border-radius: 50% !important;
}

@media (min-width: 992px) {
  .img-fluid {
    height: 210px;
    display: flex;
    justify-content: center;
    margin: 0 auto;
  }
}

@media (min-width: 1200px) {
  .timeline-image .img-fluid {
    height: 160px;
  }
}

@media (min-width: 1000px) {
  li .timeline-image .img-fluid {
    height: 160px;
  }

}

@media (min-width: 820px) {
  .timeline-image .img-fluid {
    height: 137px;
  }

}

@media (min-width: 768px) {
  .timeline-image .img-fluid {
    height: 87px;
  }
}

.timeline {
  position: relative;
  padding: 0;
  list-style: none;
}

.timeline:before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 40px;
  width: 2px;
  margin-left: -1.5px;
  content: "";
  background-color: #e9ecef;
}

.timeline>li {
  position: relative;
  min-height: 50px;
  margin-bottom: 50px;
}

.timeline>li:after,
.timeline>li:before {
  display: table;
  content: " ";
}

.timeline>li:after {
  clear: both;
}

.timeline>li .timeline-panel {
  position: relative;
  float: right;
  width: 100%;
  padding: 0 20px 0 100px;
  text-align: left;
}

.timeline>li .timeline-panel:before {
  right: auto;
  left: -15px;
  border-right-width: 15px;
  border-left-width: 0;
}

.timeline>li .timeline-panel:after {
  right: auto;
  left: -14px;
  border-right-width: 14px;
  border-left-width: 0;
}

.timeline>li .timeline-image {
  position: absolute;
  z-index: 100;
  left: 0;
  width: 80px;
  height: 80px;
  margin-left: 0;
  text-align: center;
  color: white;
  border: 7px solid #e9ecef;
  border-radius: 100%;
  background-color: #08193F;
}

.timeline>li .timeline-image h4,
.timeline>li .timeline-image .h4 {
  font-size: 10px;
  line-height: 14px;
  margin-top: 12px;
}

.timeline>li.timeline-inverted>.timeline-panel {
  float: right;
  padding: 0 20px 0 100px;
  text-align: left;
}

.timeline>li.timeline-inverted>.timeline-panel:before {
  right: auto;
  left: -15px;
  border-right-width: 15px;
  border-left-width: 0;
}

.timeline>li.timeline-inverted>.timeline-panel:after {
  right: auto;
  left: -14px;
  border-right-width: 14px;
  border-left-width: 0;
}

.timeline>li:last-child {
  margin-bottom: 0;
}

.timeline .timeline-heading h4,
.timeline .timeline-heading .h4 {
  margin-top: 0;
  color: inherit;
}

.timeline .timeline-heading h4.subheading,
.timeline .timeline-heading .subheading.h4 {
  text-transform: none;
}

.timeline .timeline-body>ul,
.timeline .timeline-body>p {
  margin-bottom: 0;
}

@media (min-width: 768px) {
  .timeline:before {
    left: 50%;
  }

  .timeline>li {
    min-height: 100px;
    margin-bottom: 100px;
  }

  .timeline>li .timeline-panel {
    float: left;
    width: 41%;
    padding: 0 20px 20px 30px;
    text-align: right;
  }

  .timeline>li .timeline-image {
    left: 50%;
    width: 100px;
    height: 100px;
    margin-left: -50px;
  }

  .timeline>li .timeline-image h4,
  .timeline>li .timeline-image .h4 {
    font-size: 13px;
    line-height: 18px;
    margin-top: 16px;
  }

  .timeline>li.timeline-inverted>.timeline-panel {
    float: right;
    padding: 0 30px 20px 20px;
    text-align: left;
  }
}

@media (min-width: 992px) {
  .timeline>li {
    min-height: 150px;
  }

  .timeline>li .timeline-panel {
    padding: 0 20px 20px;
  }

  .timeline>li .timeline-image {
    width: 150px;
    height: 150px;
    margin-left: -75px;
  }

  .timeline>li .timeline-image h4,
  .timeline>li .timeline-image .h4 {
    font-size: 18px;
    line-height: 26px;
    margin-top: 30px;
  }

  .timeline>li.timeline-inverted>.timeline-panel {
    padding: 0 20px 20px;
  }
}

@media (min-width: 1200px) {
  .timeline>li {
    min-height: 170px;
  }

  .timeline>li .timeline-panel {
    padding: 0 20px 20px 100px;
  }

  .timeline>li .timeline-image {
    width: 170px;
    height: 170px;
    margin-left: -85px;
  }

  .timeline>li .timeline-image h4,
  .timeline>li .timeline-image .h4 {
    margin-top: 40px;
  }

  .timeline>li.timeline-inverted>.timeline-panel {
    padding: 0 100px 20px 20px;
  }
}

.text-center,
#ceos {
  text-align: center;
}

/* CARROSEL */
.carousel {
  display: flex;
  overflow: hidden;
  width: 100%;
  margin: 0px auto;
  padding: 20px 0;
  max-width: 900px;
  mask-image: linear-gradient(to right, #0000, #000 12.5%, #000 87.5%, #0000);

  * {
    flex: 0 0 60%;
  }
}

.slider {
  display: flex;
  gap: 20px;
  padding-right: 20px;
  will-change: transform;
  animation: scroll 20s linear infinite;

}

.slide {
  width: 100%;
  display: flex;
  justify-content: center;

}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-150%);
  }
}

/* CARROSEL */

/* --- ESTILOS PARA OS CARDS DE PREÇOS (TECNOLÓGICO) --- */

.pricing-card {
  /* Base do card, cor escura, borda ciano */
  background-color: var(--color-dark-blue);
  border: 1px solid rgba(100, 255, 218, 0.15);
  /* Borda sutil */
  padding: 0;
  /* Remove padding inicial do value-card */
  overflow: hidden;
}

/* Efeito de destaque no card do meio (Landing Page) */
.featured-card {
  border: 2px solid var(--color-cyan);
  /* Borda mais grossa de destaque */
  transform: scale(1.05);
  /* Leve aumento */
  box-shadow: 0 0 20px rgba(100, 255, 218, 0.4);
}

.featured-card:hover {
  transform: scale(1.07) translateY(-5px);
  /* Efeito hover mais pronunciado */
}

/* Conteúdo dentro do card */
.card-content {
  padding: 30px;
  text-align: center;
}

.card-content .title {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--color-cyan);
  margin-bottom: 10px;
  background-color: rgba(100, 255, 218, 0.1);
  /* Fundo sutil para o título */
  padding: 10px 0;
  border-radius: 4px;
}

/* Valor RISCADO (DE:) */
.deValor {
  font-size: 1rem;
  color: var(--color-off-white);
  margin: 10px 0 5px;
}

.deValor span {
  text-decoration: line-through;
  /* Linha sobre o valor antigo */
  color: #ff6464;
  /* Vermelho sutil para indicar preço cortado */
  font-weight: 500;
}

/* Valor ATUAL (POR:) */
.price-now {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--color-cyan);
  margin-bottom: 25px;
  line-height: 1.1;
  text-shadow: 0 0 5px rgba(100, 255, 218, 0.5);
  /* Efeito "brilho" tech */
}

/* Lista de Benefícios */
.benefit-list {
  list-style: none;
  text-align: left;
  padding: 0;
  margin-bottom: 30px;
  border-top: 1px dashed rgba(100, 255, 218, 0.1);
  padding-top: 20px;
}

.benefit-list li {
  font-size: 1rem;
  color: var(--color-off-white);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
}

.benefit-list li i {
  color: var(--color-cyan);
  margin-right: 10px;
  font-size: 1.1rem;
}

/* Botão do Card */
.card-btn {
  display: block;
  width: 100%;
  padding: 12px 20px;
  background-color: var(--color-cyan);
  color: var(--color-dark-blue) !important;
  text-align: center;
  text-decoration: none;
  border-radius: 4px;
  font-weight: 700;
  transition: background-color 0.3s, transform 0.3s;
}

.card-btn:hover {
  background-color: #53e0c0;
  transform: translateY(-2px);
}

/* Ajuste de responsividade para cards de preços */
@media (max-width: 992px) {
  .featured-card {
    transform: scale(1.02);
  }

  .featured-card:hover {
    transform: scale(1.05) translateY(-5px);
  }
}

/* --- TAG DE BLACK FRIDAY (AMARELO/DOURADO) --- */

.bf-tag {
  position: absolute;
  top: 0;
  /* Alinhado ao topo do card */
  left: 50%;
  transform: translate(-50%, -50%) translateY(-10px);
  /* Centraliza e posiciona acima */
  background-color: #FFD700;
  /* Dourado/Amarelo padrão */
  color: #4b0082;
  /* Roxo escuro, para contraste com o amarelo */
  font-size: 0.85rem;
  font-weight: 700;
  padding: 5px 15px;
  border-radius: 5px;
  box-shadow: 0 4px 8px rgba(255, 215, 0, 0.5);
  /* Sombra para dar profundidade */
  z-index: 2;
  /* Garante que fique acima de tudo, exceto o conteúdo principal */
  border: 2px solid #FFA500;
  /* Laranja como borda */
  animation: pulse 1.5s infinite alternate;
  /* Efeito de pulsação sutil */
}

@keyframes pulse {
  from {
    transform: translate(-50%, -50%) translateY(-10px) scale(1);
  }

  to {
    transform: translate(-50%, -50%) translateY(-10px) scale(1.05);
  }
}

/* Ajuste na classe principal do card para permitir posicionamento absoluto da tag */
.pricing-card {
  position: relative;
  /* Ponto de referência para a tag .bf-tag */
  background-color: var(--color-dark-blue);
  border: 1px solid rgba(100, 255, 218, 0.15);
  padding: 0;
  overflow: visible;
  /* Importante para que a tag não seja cortada */
  transition: transform 0.3s, box-shadow 0.3s;
}

.fade-in-element {
  opacity: 0;
  transform: translateY(20px);
  /* Optional: add a slight upward movement */
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-element.is-visible {
  opacity: 1;
  transform: translateY(0);
}