/* Estilos Globais e Variáveis */
:root {
  --bg-color: #121212;
  --text-color: #f1f1f1;
  --accent-color: #FF7000;
  --button-bg: #FF7000;
  --button-text: #ffffff;
  --hero-gradient: linear-gradient(to bottom, rgba(0,0,0,0.6), rgba(0,0,0,0.1));
}

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-color);
  color: var(--text-color);
  transition: background 0.3s ease, color 0.3s ease;
  box-sizing: border-box;
}

*, *:before, *:after {
  box-sizing: inherit;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(8px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 5%;
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
  z-index: 999;
}

.navbar .logo img {
  height: 40px;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
}

.nav-links a {
  color: var(--text-color);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: var(--accent-color);
}

/* Hero */
.hero {
  width: 100%;
  height: 100vh;
  background: var(--hero-gradient), url('img/bg-ticapital.png') no-repeat center center;
  background-size: cover;
  display: flex;
  align-items: center;
  position: relative;
}

#particles-js {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}

.hero-content {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 5%;
  z-index: 1;
  text-align: left;
  position: absolute;
  left: 5%;
  top: 50%;
  transform: translateY(-50%);
}

.hero-text {
  max-width: 600px;
}

.hero-text h1 {
  /* Título principal agora é fluido */
  font-size: clamp(2.2rem, 1.5rem + 3vw, 3.2rem);
  line-height: 1.2;
  color: #ffffff;
  margin-bottom: 1.2rem;
}

.hero-text p {
  /* Parágrafo do hero agora é fluido */
  font-size: clamp(1rem, 0.8rem + 0.5vw, 1.2rem);
  color: #dddddd;
  margin-bottom: 2.2rem;
  line-height: 1.6;
}

.buttons {
  margin-top: 2rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.buttons a {
  text-decoration: none;
  padding: 0.9rem 1.7rem;
  border-radius: 6px;
  font-weight: 600;
  transition: 0.3s;
}

.btn-laranja { background-color: #FF7000; color: #ffffff; }
.btn-laranja:hover { background-color: #FF8500; }
.btn-cinza { background-color: #404040; color: #ffffff; }
.btn-cinza:hover { background-color: #949494; }

/* Seção Serviços */
.servicos {
  background-color: #0a0a0a;
  color: #ffffff;
  padding: 4rem 10%;
  text-align: center;
}

.servicos h2 {
  color: #FF7000;
  /* Título de seção agora é fluido */
  font-size: clamp(2rem, 1.5rem + 2.5vw, 2.8rem);
  margin-bottom: 3rem;
}

.carousel-servicos {
  overflow: hidden;
  position: relative;
  max-width: 1400px;
  margin: 0 auto;
}

.carousel-track-servicos {
  display: flex;
  gap: 2rem;
  padding: 1rem 0;
  animation: slide-servicos 50s linear infinite;
}

.carousel-servicos:hover .carousel-track-servicos {
  animation-play-state: paused;
}

.card-servico {
  flex: 0 0 280px;
  background-color: #ffffff;
  color: #202020;
  border-radius: 16px;
  padding: 2rem 1.5rem;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
  min-height: 320px;
}

.card-servico img {
  width: 100%;
  max-width: 200px;
  height: auto;
  margin-bottom: 1.2rem;
}

.card-servico h3 {
  color: #FF7000;
  font-size: 1.2rem;
  margin-bottom: 0.8rem;
}

.card-servico p {
  font-size: 0.95rem;
  line-height: 1.5;
  color: #444;
}

.card-servico:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 20px rgba(255, 112, 0, 0.3);
  z-index: 10;
}

@keyframes slide-servicos {
  0% { transform: translateX(0); }
  100% { transform: translateX(calc(-280px * 8 - 2rem * 7)); }
}

/* Faixa de Transição */
.faixa-transicao-gradiente {
  height: 100px;
  background: linear-gradient(to bottom, #0a0a0a, #FF7000);
}

/* Seção Sobre */
.sobre {
  background-color: #FF7000;
  color: #fff;
  padding: 5rem 10%;
}

.container-sobre {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto;
}

.sobre-texto {
  flex: 1 1 480px;
}

.sobre-texto h2 {
  /* Título de seção agora é fluido */
  font-size: clamp(2rem, 1.5rem + 2.5vw, 2.8rem);
  margin-bottom: 1rem;
}

.sobre-texto h2 span { color: #202020; }
.sobre-texto p { font-size: 1.2rem; margin-bottom: 2rem; line-height: 1.6; }

.diferenciais { list-style: none; padding: 0; }
.diferenciais li {
  margin-bottom: 1rem;
  font-size: 1.3rem;
  position: relative;
  padding-left: 1.5rem;
}
.diferenciais li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #202020;
  font-weight: bold;
}

.sobre-img { flex: 1 1 476px; text-align: center; }
.sobre-img img {
  width: 100%;
  height: auto;
  border-radius: 12px;
}

.dashboard-stats {
    display: flex;
    justify-content: space-around;
    align-items: center;
    background-color: #ff7000; /* cinza escuro */
    color: white;
    padding: 40px 20px;
    flex-wrap: wrap;
    gap: 20px;
}

.stat-card {
    text-align: center;
    flex: 1;
    min-width: 200px;
    background-color: #1e1e1e; /* laranja principal */
    padding: 20px;
    border-radius: 20px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    display: block;
    color: white;
}

.stat-card p {
    margin-top: 10px;
    font-size: 1.1rem;
}

@media (max-width: 768px) {
    .dashboard-stats {
        flex-direction: column;
    }
}


/* Seção Tecnologias */
/* Seção Tecnologias */
.tecnologias {
  background: linear-gradient(to bottom, #0a0a0a, #121212);
  background-image: url('img/bg-tech-pattern.png');
  background-size: cover;
  background-blend-mode: overlay;
  color: #ffffff;
  padding: 5rem 10%;
  text-align: center;
}

.tecnologias .tag {
  display: inline-block;
  padding: 0.3rem 1rem;
  border: 2px solid #FF7000;
  border-radius: 20px;
  color: #FF7000;
  margin-bottom: 1rem;
  font-weight: bold;
}

.tecnologias h2 { 
  font-size: clamp(2rem, 1.5rem + 2.5vw, 2.8rem);
  margin-bottom: 1rem; 
}
.tecnologias p { 
  color: #ccc;
  margin-bottom: 3rem; 
  max-width: 700px; 
  margin-left: auto; 
  margin-right: auto;
}

/* === CARROSSEL TECNOLOGIAS (esteira infinita) === */
.carousel {
  overflow: hidden;
  position: relative;
}

.carousel-track {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: nowrap;             /* 1) NÃO quebrar linha */
  animation: scroll var(--speed, 36s) linear infinite;  /* 2) usa var p/ ajustar velocidade */
  will-change: transform;
}

.carousel-track:hover {          /* opcional: pausa no hover */
  animation-play-state: paused;
}

.card-tecnologia {
  flex: 0 0 auto;                /* 3) impedir encolhimento dos cards */
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(6px);
  border-radius: 12px;
  padding: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(255, 112, 0, 0.1);
  min-width: 180px;
  height: 120px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-tecnologia img {
  max-width: 140px;
  max-height: 80px;
  filter: brightness(0) invert(1);
}
.card-tecnologia:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(255, 112, 0, 0.3);
}

/* Anima metade da largura (porque vamos duplicar via JS) */
@keyframes scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* Seção Valores */
.valores-section {
  background: linear-gradient(to bottom, #121212, #0a0a0a);
  color: #ffffff;
  padding: 5rem 2rem;
  text-align: center;
}

.valores-section h2 {
  /* Título de seção agora é fluido */
  font-size: clamp(2rem, 1.5rem + 2.5vw, 2.8rem);
  color: #FF7000;
  margin-bottom: 3rem;
}

.valores-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.valor-card {
  background-color: #1a1a1a;
  border: 1px solid #FF7000;
  border-radius: 16px;
  padding: 2rem 1.5rem;
  width: 280px;
  transition: transform 0.4s ease, box-shadow 0.4s ease, opacity 0.5s ease;
  opacity: 0;
  transform: translateY(40px);
}

.valor-card.show { opacity: 1; transform: translateY(0); }
.valor-card img { max-width: 100%; height: auto; margin-bottom: 1rem; }
.valor-card h3 { color: #FF7000; margin-bottom: 0.8rem; font-size: 1.2rem; }
.valor-card p { color: #ccc; font-size: 0.95rem; line-height: 1.5; }
.valor-card:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px rgba(255, 112, 0, 0.2);
}

/* PAINEL*/
.painel {
  background-color: rgb(0, 0, 0);
  text-align: center;
}
.painel h2 {
  color: #FF7000;
  font-size: clamp(2rem, 1.5rem + 2.5vw, 2.8rem);
  margin-bottom: 3rem;
}

.painel p { 
  color: #ffffff;
  font-size: 17px;
  margin-bottom: 3rem; 
  max-width: 700px; 
  margin-left: auto; 
  margin-right: auto;
}
.painel-img {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}
.painel-img img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* Seção Contato */
.contact-section {
  padding: 60px 20px;
  background-color: #121212;
}

.contact-container {
  max-width: 600px;
  margin: 0 auto;
  background: #1e1e1e;
  color: #fff;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.6);
}

.contact-container h1 { font-size: 0.9rem; color: #ffffff; text-align: center; margin-bottom: 10px; }
.contact-container h2 {
  /* Título de seção agora é fluido */
  font-size: clamp(1.8rem, 1.3rem + 2vw, 2.2rem); 
  color: #FF7000; text-align: center; margin-bottom: 20px; 
}
.contact-container p { text-align: center; margin-bottom: 30px; font-size: 1.1rem; color: #ccc; }

.contact-form { display: flex; flex-direction: column; gap: 20px; }
.form-group { display: flex; flex-direction: column; gap: 8px; }
.contact-form label { font-weight: 600; color: #FF9B00; }
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #333;
  border-radius: 8px;
  font-size: 1rem;
  background-color: #222;
  color: #fff;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #FF7000;
  box-shadow: 0 0 5px rgba(255, 112, 0, 0.5);
  outline: none;
}
.contact-form button {
  padding: 14px;
  background-color: #FF7000;
  color: #fff;
  font-size: 1rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s, transform 0.2s;
}
.contact-form button:hover {
  background-color: #FF9B00;
  transform: translateY(-2px);
}

/* Rodapé */
.rodape-ticapital {
  background-color: #0a0a0a;
  color: #fff;
  padding: 4rem 10% 2rem;
  font-size: 0.95rem;
}
.rodape-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
}
.rodape-col { flex: 1 1 220px; }
.rodape-col h4 { color: #FF7000; margin-bottom: 1rem; font-size: 1.2rem; }
.rodape-col a { color: #FF9B00; text-decoration: none; }
.rodape-col a:hover { text-decoration: underline; color: #FF7000; }
.logo-col img { max-height: 40px; margin-bottom: 1rem; }
.rodape-copy {
  text-align: center;
  padding-top: 2rem;
  font-size: 0.9rem;
  color: #aaa;
  border-top: 1px solid #303030;
  margin-top: 2rem;
}

/* Botão Flutuante do WhatsApp */
.whatsapp-button {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 60px;
  height: 60px;
  z-index: 1000;
  transition: transform 0.3s ease;
}
.whatsapp-button:hover { transform: scale(1.1); }
.whatsapp-button img { width: 100%; height: 100%; border-radius: 50%; }

/* Menu Hambúrguer */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 2rem;
    height: 2rem;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}
.hamburger span {
    width: 2rem;
    height: 0.25rem;
    background: var(--text-color);
    border-radius: 10px;
    transition: all 0.3s linear;
    position: relative;
    transform-origin: 1px;
}

/* ############################################# */
/* ########## MEDIA QUERY PARA MOBILE ########## */
/* ############################################# */

@media (max-width: 768px) {

  /* Ajusta o padding geral para telas menores */
  .servicos, .sobre, .tecnologias, .rodape-ticapital {
    padding: 3rem 5%;
  }

  /* --- Navbar e Menu Hambúrguer --- */
  .navbar {
    padding: 1rem 5%;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
    position: absolute;
    top: 60px;
    left: 0;
    background-color: rgba(18, 18, 18, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    text-align: center;
  }
  
  .nav-links.active {
    display: flex;
  }

  .nav-links a {
    padding: 1rem;
    width: 100%;
  }
  
  .hamburger {
    display: flex;
  }
  
  .hamburger.active span:nth-child(1) { transform: rotate(45deg); }
  .hamburger.active span:nth-child(2) { opacity: 0; transform: translateX(20px); }
  .hamburger.active span:ntH-child(3) { transform: rotate(-45deg); }

  /* --- Seção Hero --- */
  .hero-content {
    text-align: center;
    left: 0;
    padding: 0 5%;
    width: 100%;
  }

  .buttons {
    justify-content: center;
  }

  /* --- Seção Sobre --- */
  .container-sobre {
    flex-direction: column;
    text-align: center;
  }
  .sobre-texto {
    flex-basis: 100%;
  }
  .diferenciais li {
    text-align: left;
  }

  /* --- Seção Valores --- */
  .valores-grid {
    flex-direction: column;
    align-items: center;
  }
  .valor-card {
    width: 90%;
    max-width: 320px;
  }

  /* --- Formulário de Contato --- */
  .contact-container {
    padding: 20px;
  }

  /* --- Rodapé --- */
  .rodape-container {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }
  
  /* --- Botão do WhatsApp --- */
  .whatsapp-button {
    width: 55px;
    height: 55px;
  }
}
/* --- ESTILOS CORRIGIDOS PARA ÍCONES SOCIAIS NO RODAPÉ --- */

.social-links-container {
  display: flex;
  flex-direction: column;
  gap: 0.8rem; /* Espaçamento vertical entre os links */
}

.social-link {
  display: inline-flex; /* Alinha o ícone e o texto na mesma linha */
  align-items: center;  /* Centraliza verticalmente o ícone com o texto */
  gap: 10px;            /* Espaço entre o ícone e o texto */
  color: #ffffff;       /* Cor do texto do link definida como BRANCO */
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.social-link:hover {
  color: #ffffff; /* No hover, o texto fica laranja */
  text-decoration: none; /* Mantemos sem sublinhado para um visual mais limpo */
}
/* CÓDIGO NOVO E SIMPLIFICADO PARA IMAGENS */
.social-link img {
  width: 24px;  /* Largura do ícone */
  height: 24px; /* Altura do ícone */
  object-fit: contain; /* Garante que a imagem não se distorça */
}