/* ============================================================
   BLOQUEIO DE SCROLL LATERAL E AJUSTES GLOBAIS
   ============================================================ */
html,
body {
  max-width: 100%;
  overflow-x: hidden; /* Impede a rolagem horizontal */
  width: 100%;
  margin: 0;
  padding: 0;
}

/* Reset de imagens para não estourarem o container */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ============================================================
   BANNER HERO (DESIGN FIEL À IMAGEM)
   ============================================================ */
.hero {
  /* Reduzido de 100vh para 80vh para aproximar os cards */
  height: 80vh;
  min-height: 600px; /* Garante uma altura mínima em telas pequenas */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  padding: 0 5%;
  background-color: #020a13;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    linear-gradient(rgba(2, 10, 19, 0.85), rgba(2, 10, 19, 0.75)),
    url("../img/homefundo.webp") no-repeat center center;
  background-size: cover;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1100px;
}

.hero-subtitle {
  color: #00a8ff;
  font-size: 20px;
  margin-bottom: 25px;
  font-weight: 500;
}

.hero h1 {
  font-size: 82px; /* Fonte grande de impacto */
  color: #ffffff;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 40px;
  letter-spacing: -2px;
}

.btn-cta {
  background: #00a8ff;
  color: #fff !important;
  padding: 18px 50px;
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  border-radius: 4px;
  display: inline-block;
  transition: 0.3s;
}

/* ============================================================
   RESPONSIVIDADE (MOBILE SEM ERRO)
   ============================================================ */
/* ============================================================
   AJUSTE MOBILE: CENTRALIZAÇÃO E ALTURA
   ============================================================ */
@media (max-width: 768px) {
  .hero {
    height: 100vh; /* Mantém a altura da tela */
    display: flex;
    align-items: center; /* Centraliza verticalmente */
    justify-content: center; /* Centraliza horizontalmente */
    padding: 0 20px; /* Remove paddings excessivos no topo */
    text-align: center !important; /* Garante que o texto não fique à direita */
  }

  .hero-content {
    width: 100%;
    max-width: 100%;
    margin-top: -50px; /* Sobe um pouco o texto para compensar o espaço visual da logo */
    display: flex;
    flex-direction: column;
    align-items: center; /* Força o alinhamento dos itens no centro */
  }

  .hero h1 {
    font-size: 38px; /* Tamanho ajustado para não quebrar muito */
    line-height: 1.2;
    margin-bottom: 30px;
    text-align: center !important;
    width: 100%;
  }

  .hero-subtitle {
    font-size: 16px;
    text-align: center !important;
    margin: 0 auto 20px auto;
    width: 100%;
  }

  .btn-cta {
    width: 100%; /* Botão ocupa a largura no mobile como na imagem */
    max-width: 300px;
    padding: 18px;
  }

  /* Remove a quebra forçada do desktop para o texto fluir melhor no centro */
  .desktop-only {
    display: none;
  }
}

/* ============================================================
   DESIGN DO SITE (HEADER E INDEX) - FIEL À IMAGEM
   ============================================================ */
:root {
  --primary: #00a8ff;
  --dark: #020a13;
  --card-bg: rgba(255, 255, 255, 0.03);
  --border: rgba(0, 168, 255, 0.1);
}

body.site-dark {
  background: var(--dark);
  color: #fff;
  scroll-behavior: smooth;
}

/* NAVBAR */
.navbar {
  position: absolute;
  width: 100%;
  top: 0;
  padding: 40px 10%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 100;
}
.nav-links {
  display: flex;
  list-style: none;
  gap: 30px;
}
.nav-links a {
  color: #fff;
  text-decoration: none;
  font-size: 14px;
}

/* SELETOR SUPORTE */
.toggle-support {
  display: flex;
  align-items: center;
  background: #1b2d44;
  border-radius: 4px;
  position: relative;
}
.btn-support,
.btn-supplies {
  padding: 10px 25px;
  color: #fff;
  text-decoration: none;
  font-size: 12px;
  font-weight: 700;
}
.btn-supplies {
  background: var(--primary);
}
.or-circle {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  color: #000;
  font-size: 10px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
}

/* HERO E BANNER */
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
}
.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    circle,
    rgba(0, 168, 255, 0.1) 0%,
    transparent 70%
  );
  z-index: 1;
}
.hero-content {
  z-index: 2;
  max-width: 800px;
}
.hero-subtitle {
  color: var(--primary);
  font-size: 16px;
  margin-bottom: 20px;
}
.hero h1 {
  font-size: 48px;
  margin-bottom: 30px;
  line-height: 1.2;
}
.btn-cta {
  background: var(--primary);
  color: #fff;
  padding: 15px 40px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 700;
  display: inline-block;
}

/* GRIDS E CARDS DO SITE */
.container-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 5%;
}
.service-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  padding: 40px;
  border-radius: 8px;
  text-align: center;
}

/* HELP DESK (TARJA BRANCA) */
.helpdesk {
  background: #fff;
  color: #333;
  padding: 60px 0;
  text-align: center;
}
.help-logos {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 30px;
}
.logo-item img {
  height: 40px;
  margin-bottom: 10px;
  display: block;
}
.logo-item span {
  font-size: 12px;
  font-weight: 700;
  color: #666;
}

/* ============================================================
   DESIGN ORIGINAL DO SISTEMA (PAINEL ADMIN)
   ============================================================ */
:root {
  --admin-bg: #f4f7f6;
  --sidebar: #001529;
}

body.admin-body {
  background: var(--admin-bg);
  color: #333;
}
.wrapper {
  display: flex;
  min-height: 100vh;
}

#sidebar {
  min-width: 250px;
  background: var(--sidebar);
  color: #fff;
  display: flex;
  flex-direction: column;
  height: 100vh;
  position: sticky;
  top: 0;
}
.sidebar-header {
  padding: 20px;
  text-align: center;
  border-bottom: 1px solid #112233;
}
.sidebar-header img {
  max-width: 120px;
}
.sidebar-menu {
  list-style: none;
  padding-top: 20px;
  flex-grow: 1;
}
.sidebar-menu a {
  display: block;
  padding: 15px 20px;
  color: #adb5bd;
  text-decoration: none;
}
.sidebar-menu a:hover {
  background: #1890ff;
  color: #fff;
}

#content {
  flex: 1;
  padding: 30px;
}
.card-form {
  background: #fff;
  padding: 25px;
  border-radius: 8px;
  margin-bottom: 30px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

/* TABELAS E BOTÕES DO SISTEMA */
.table-admin {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
}
.table-admin th,
.table-admin td {
  padding: 15px;
  text-align: left;
  border-bottom: 1px solid #eee;
}
.btn {
  padding: 8px 15px;
  border-radius: 5px;
  cursor: pointer;
  text-decoration: none;
  border: none;
  display: inline-block;
  font-size: 14px;
}
.btn-save {
  background: var(--primary);
  color: #fff;
  width: 100%;
  font-weight: bold;
}

/* Linha 2: Botões de Suporte ocupando a largura total */
.header-actions {
  order: 3 !important;
  width: 100% !important;
  display: flex !important;
  justify-content: center !important;
  margin-top: 20px !important;
  z-index: 1001 !important;
}

.support-toggle {
  width: 100%;
  justify-content: center;
}

/* Transformação da navegação normal em Menu Lateral Deslizante */
#nav {
  position: fixed !important;
  top: 0 !important;
  left: -100% !important; /* Esconde o menu fora da tela */
  width: 100vw !important;
  height: 100vh !important;
  background-color: var(--dark, #020a13) !important;
  z-index: 99990 !important;
  display: flex !;
}
/* ============================================================
   AJUSTE DO BANNER HOME (FULLSCREEN RESPONSIVO)
   ============================================================ */
.hero {
  min-height: 100vh; /* Garante que ocupe no mínimo a altura da tela */
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* O 'cover' faz a mágica de preencher tudo sem esticar */
  background:
    linear-gradient(rgba(2, 10, 19, 0.8), rgba(2, 10, 19, 0.7)),
    url("../img/homefundo.webp") no-repeat center center;
  background-size: cover;
  background-attachment: fixed; /* Opcional: Efeito parallax no desktop */
  z-index: 1;
}

/* Ajuste específico para Mobile (tira o fixed que costuma bugar em celulares) */
@media (max-width: 768px) {
  .hero-bg {
    background-attachment: scroll;
    background-position: center center;
  }

  .hero h1 {
    font-size: 32px; /* Diminui o título no celular para não quebrar o fundo */
  }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 850px;
  padding: 0 20px;
}

/* ============================================================
   AJUSTE FINO DO BANNER (DESIGN FIEL)
   ============================================================ */

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  padding: 0 20px;
  background-color: #020a13;
}

/* Subtítulo (Frase menor acima) */
.hero-subtitle {
  color: #00a8ff;
  font-size: 20px; /* Aumentado para melhor leitura */
  max-width: 600px;
  margin: 0 auto 30px auto;
  line-height: 1.4;
  font-weight: 500;
}

/* Título Principal (Onde ocorre a quebra) */
.hero h1 {
  font-size: 72px; /* Fonte bem grande como na imagem */
  color: #ffffff;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 50px;
  letter-spacing: -1px;
}

/* Estilo do Botão "Fale com a gente" */
.btn-cta {
  background-color: #00a8ff;
  color: #ffffff !important;
  padding: 20px 50px;
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  border-radius: 4px;
  display: inline-block;
  transition: 0.3s;
  text-transform: none; /* Mantém como você escreveu */
}

.btn-cta:hover {
  background-color: #0086cc;
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 168, 255, 0.3);
}

/* Responsividade para o Título não ficar gigante em celulares */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 42px;
  }
  .hero-subtitle {
    font-size: 16px;
  }
}

/* ============================================================
   SEÇÃO BENEFÍCIOS MODERNA (FIEL AO DESIGN E ANIMAÇÕES)
   ============================================================ */

.benefits-section {
  padding-bottom: 80px;
  background-color: #020a13;
  position: relative;
  z-index: 10;
  /* Margem negativa para os cards subirem e "entrarem" no banner */
  margin-top: -80px;
}

.benefits-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 25px;
  max-width: 1400px;
  margin: 0 auto;
}

/* Estilo Base do Card Moderno */
.modern-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(0, 168, 255, 0.15);
  border-radius: 35px;
  padding: 35px;
  display: flex;
  flex-direction: row;

  /* MÁGICA DO ALINHAMENTO CENTRAL: */
  align-items: center; /* Centraliza o ícone e o texto verticalmente entre si */

  text-align: left;
  min-height: 200px;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* --- EFEITO MODERN AO PASSAR O MOUSE (HOVER) --- */
.modern-card:hover {
  transform: translateY(-10px); /* Sobe 10px */
  background: rgba(0, 168, 255, 0.08); /* Fundo azul sutil */
  border-color: rgba(0, 168, 255, 0.5); /* Borda azul mais forte */
  box-shadow: 0 20px 40px rgba(0, 168, 255, 0.2); /* Sombra neon azul */
}

/* Estilo do Ícone (Imagem) */
.card-icon {
  flex: 0 0 80px; /* Largura fixa para o ícone */
  margin-right: 25px;
  display: flex;
  justify-content: center;
  align-items: center; /* Garante que a imagem esteja no centro da sua própria div */
}

.card-icon img {
  width: 100%;
  height: auto;
  max-height: 70px; /* Limita o tamanho para não estourar o card */
  object-fit: contain;
}

.card-text {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card-text h3 {
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
  line-height: 1.3;

  /* MÁGICA DO ALINHAMENTO: */
  min-height: 50px; /* Garante que títulos de 1 ou 2 linhas ocupem o mesmo espaço */
  display: flex;
  align-items: center; /* Centraliza o texto dentro da área de 50px */
}

.card-text p {
  color: #aeb9c7;
  font-size: 16px;
  line-height: 1.6;
  margin: 0;
}

/* ============================================================
   ANIMAÇÕES DE ENTRADA AO CARREGAR (FADE-IN UP)
   ============================================================ */

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.8s ease forwards;
}

/* Delays para os cards entrarem um depois do outro */
.delay-1 {
  animation-delay: 0.2s;
}
.delay-2 {
  animation-delay: 0.4s;
}

/* Ajuste Responsivo para Mobile */
@media (max-width: 768px) {
  .modern-card {
    flex-direction: column; /* Empilha no mobile */
    text-align: center;
    padding: 30px;
  }
  .card-icon {
    margin-right: 0;
    margin-bottom: 20px;
  }
}

/* ============================================================
   ANIMAÇÕES DE ZOOM AO CARREGAR (banner)
   ============================================================ */

/* Definindo a animação */
@keyframes zoomInUp {
  0% {
    opacity: 0;
    transform: scale(0.8) translateY(30px); /* Começa menor e um pouco abaixo */
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0); /* Termina no tamanho real e posição correta */
  }
}

/* Aplicando aos elementos do Hero */
.hero-content .hero-subtitle,
.hero-content h1,
.hero-content .btn-cta {
  opacity: 0; /* Mantém invisível até a animação começar */
  animation: zoomInUp 1s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
}

/* Delays para criar o efeito de cascata (um por um) */
.hero-content .hero-subtitle {
  animation-delay: 0.3s;
}

.hero-content h1 {
  animation-delay: 0.6s;
}

.hero-content .btn-cta {
  animation-delay: 0.9s;
}

/* Ajuste no Mobile: Reduzimos o movimento para não causar estranheza em telas pequenas */
@media (max-width: 768px) {
  @keyframes zoomInUp {
    0% {
      opacity: 0;
      transform: scale(0.95); /* Zoom mais sutil no mobile */
    }
    100% {
      opacity: 1;
      transform: scale(1);
    }
  }
}

/* Responsividade: No mobile, reduzimos a margem negativa para não embolar */
@media (max-width: 768px) {
  .hero {
    height: auto;
    padding: 150px 20px 100px 20px; /* Espaço para o menu fixo */
  }
  .benefits-section {
    margin-top: -40px;
  }
}

/* ============================================================
   AJUSTE MOBILE: CENTRALIZAÇÃO E ALTURA
   ============================================================ */
@media (max-width: 768px) {
  .hero {
    height: 120vh; /* Mantém a altura da tela */
    display: flex;
    align-items: center; /* Centraliza verticalmente */
    justify-content: center; /* Centraliza horizontalmente */
    padding: 0 0px; /* Remove paddings excessivos no topo */
    text-align: center !important; /* Garante que o texto não fique à direita */
  }

  .hero-content {
    width: 100%;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center; /* Força o alinhamento dos itens no centro */
  }

  .hero h1 {
    font-size: 38px; /* Tamanho ajustado para não quebrar muito */
    line-height: 1.2;
    margin-bottom: 30px;
    text-align: center !important;
    width: 100%;
  }

  .hero-subtitle {
    font-size: 16px;
    text-align: center !important;
    margin: 0 auto 20px auto;
    width: 100%;
  }

  .btn-cta {
    width: 100%; /* Botão ocupa a largura no mobile como na imagem */
    max-width: 300px;
    padding: 18px;
  }

  /* Remove a quebra forçada do desktop para o texto fluir melhor no centro */
  .desktop-only {
    display: none;
  }
}

/* ============================================================
   CONFIGURAÇÃO DE GRID E FLIP DOS SERVIÇOS
   ============================================================ */

.services-container {
  display: grid;
  /* Desktop: 3 colunas fixas se houver espaço, senão ajusta */
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 1400px;
  margin: 0 auto;
  perspective: 1500px;
}

.service-flip-card {
  background-color: transparent;
  height: 420px;
  width: 100%;
}

.service-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  transform-style: preserve-3d;
}

.service-flip-card:hover .service-card-inner {
  transform: rotateY(180deg);
}

/* Estilo Compartilhado Frente e Verso */
.service-card-front,
.service-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  border-radius: 12px;
  padding: 35px;
  /* Mesma cor de fundo para ambos os lados */
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(0, 168, 255, 0.15);
  display: flex;
  flex-direction: column;
  color: #ffffff;
}

/* Ajustes da Frente */
.service-icon-wrapper img {
  height: 65px;
  width: auto;
  margin-bottom: 25px;
  object-fit: contain;
}

.service-card-front h3 {
  font-size: 22px;
  margin-bottom: 15px;
}

/* Ajustes do Verso */
.service-card-back {
  transform: rotateY(180deg);
  text-align: left;
  justify-content: space-between;
}

.service-card-back h3 {
  color: #00a8ff;
  font-size: 20px;
  margin-bottom: 10px;
}

.scroll-content {
  overflow-y: auto;
  margin-bottom: 15px;
  padding-right: 10px;
  font-size: 14px;
  line-height: 1.6;
  color: #ced4da;
}

/* Botão do Verso */
.btn-cta-card {
  background: #00a8ff;
  color: #fff !important;
  text-align: center;
  padding: 12px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
}

/* ============================================================
   RESPONSIVIDADE (1 CARD POR LINHA NO MOBILE)
   ============================================================ */

@media (max-width: 1024px) {
  .services-container {
    grid-template-columns: repeat(2, 1fr); /* 2 por linha em tablets */
  }
}

@media (max-width: 768px) {
  .services-container {
    grid-template-columns: 1fr; /* 1 por linha no mobile */
    padding: 0 20px;
  }

  .service-flip-card {
    height: 380px; /* Um pouco menor no mobile */
  }

  /* No mobile, o hover funciona com o toque */
  .service-card-front h3 {
    font-size: 20px;
  }
}

/* ============================================================
   DESIGN DE SERVIÇOS - ESTILO FLIP INCHIP
   ============================================================ */
.services-section {
  padding: 100px 5%;
  background-color: #020a13;
  text-align: center;
}

.section-tag {
  color: #00a8ff;
  font-weight: 600;
  margin-bottom: 10px;
}
.section-subtitle {
  color: #aeb9c7;
  margin-top: 15px;
  font-size: 15px;
}

/* Grid: 3 por linha no Desktop */
.services-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px 40px; /* Aumentado para não ficarem grudados */
  max-width: 1300px;
  margin: 60px auto 0;
  perspective: 1000px; /* Aumentado para um giro mais suave */
}

.service-flip-card {
  background-color: transparent;
  height: 420px;
  width: 100%;
  position: relative;
  /* Garante que o card que não está com o mouse fique no fundo */
  z-index: 1;
}

.service-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  transform-style: preserve-3d;
}

.service-flip-card:hover .service-card-inner {
  transform: rotateY(180deg);
}

/* MÁGICA: Quando passa o mouse, este card sobe para a frente de todos */
.service-flip-card:hover {
  z-index: 99;
}

/* Estilo das Faces */
.service-card-front,
.service-card-back {
  position: absolute;
  width: 100%;
  height: 80%;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  border-radius: 12px;
  padding: 30px 0px;
  background: #050e18;
  border: 1px solid rgba(0, 168, 255, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5); /* Sombra para dar profundidade */
}

/* Frente */
.icon-box img {
  height: 60px;
  margin-bottom: 25px;
  object-fit: contain;
}

.service-card-front h3 {
  font-size: 20px;
  margin-bottom: 18px;
  color: #ffffff;
}
.service-card-front p {
  font-size: 16px;
  color: #aeb9c7;
  line-height: 1.5;
  margin: 15px 10px;
}

/* Verso */
.service-card-back {
  transform: rotateY(180deg);
  border-color: #00a8ff; /* Borda brilha mais no verso */
  justify-content: space-between;
}

.service-card-back h3 {
  color: #00a8ff;
  font-size: 18px;
}

.back-content {
  overflow-y: auto;
  font-size: 16px;
  line-height: 1.6;
  color: #ced4da;
  margin: 15px 10px;
  text-align: left;
}

.btn-whatsapp-card {
  background: #00a8ff;
  color: #fff !important;
  padding: 10px 20px;
  border-radius: 4px;
  text-decoration: none;
  font-size: 16px;
  font-weight: 700;
}

/* ============================================================
   RESPONSIVIDADE (MOBILE: 1 POR LINHA)
   ============================================================ */
@media (max-width: 1024px) {
  .services-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .services-container {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 0 20px;
  }
}

/* ============================================================
   REESTILIZAÇÃO COMPLETA DO FORMULÁRIO (ADMIN)
   ============================================================ */

/* Container Principal do Formulário */
.card-form {
  background: #ffffff;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  margin-bottom: 40px;
  border: 1px solid #eef2f6;
}

/* Título do Card */
.card-form h3 {
  font-size: 1.2rem;
  color: #334155;
  margin-bottom: 25px;
  padding-bottom: 15px;
  border-bottom: 2px solid #f1f5f9;
  display: flex;
  align-items: center;
}

/* Espaçamento dos Grupos de Input */
.input-group {
  margin-bottom: 20px;
}

/* Labels (Nomes dos Campos) */
.input-group label {
  display: block;
  font-weight: 600;
  font-size: 0.85rem;
  color: #64748b;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Estilo dos Inputs e Textarea */
.input-group input[type="text"],
.input-group input[type="file"],
.input-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1.5px solid #e2e8f0;
  border-radius: 8px;
  font-size: 0.95rem;
  color: #334155;
  background-color: #f8fafc;
  transition: all 0.3s ease;
  outline: none;
}

/* Efeito ao Clicar no Campo (Foco) */
.input-group input:focus,
.input-group textarea:focus {
  background-color: #020a13;
  border-color: #00a8ff;
  box-shadow: 0 0 0 4px rgba(0, 168, 255, 0.1);
}

/* Estilo específico para o campo de arquivo (file) */
.input-group input[type="file"] {
  padding: 8px;
  cursor: pointer;
  font-size: 0.85rem;
}

/* Botão de Salvar */
.btn-save {
  background: #00a8ff !important;
  color: #ffffff !important;
  width: 100%;
  padding: 14px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: none;
  cursor: pointer;
  transition: 0.3s;
  box-shadow: 0 4px 12px rgba(0, 168, 255, 0.2);
}

.btn-save:hover {
  background: #0086cc !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 168, 255, 0.3);
}

/* Texto de "Arquivo Atual" */
.card-form p {
  background: #fff9db;
  padding: 8px 12px;
  border-radius: 6px;
  border-left: 4px solid #fcc419;
  font-weight: 500;
}

/* Link de Cancelar Edição */
.card-form a[style*="text-align:center"] {
  display: block !important;
  margin-top: 15px !important;
  color: #94a3b8 !important;
  text-decoration: none !important;
  font-size: 0.85rem !important;
  font-weight: 600 !important;
}

.card-form a:hover {
  color: #ef4444 !important;
}

/* ============================================================
   SEÇÃO NOSSO VALOR
   ============================================================ */
.value-section {
  padding: 100px 5%;
  background-color: #020a13;
  color: #fff;
}

.value-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  max-width: 1300px;
  margin: 0 auto;
}

.value-content {
  flex: 1;
}

.value-content h2 {
  font-size: 32px;
  line-height: 1.3;
  margin: 20px 0;
  font-weight: 700;
}

.value-description {
  color: #aeb9c7;
  margin-bottom: 40px;
  font-size: 16px;
}

/* Itens de Diferencial (Ícone Circular) */
.value-items {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.value-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.value-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #00a8ff 0%, #0056b3 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 24px;
  box-shadow: 0 10px 20px rgba(0, 168, 255, 0.2);
}

.value-text h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

.value-text p {
  color: #aeb9c7;
  font-size: 14px;
  line-height: 1.6;
}

/* Card de Skills (Lado Direito) */
.value-skills {
  flex: 1;
}

.skills-card {
  background: #050e18;
  padding: 50px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.skill-item {
  margin-bottom: 25px;
}
.skill-item:last-child {
  margin-bottom: 0;
}

.skill-info {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
}

.skill-bar {
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  overflow: hidden;
}

.skill-fill {
  height: 100%;
  background: #00a8ff;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 168, 255, 0.5);
}

/* Responsividade */
@media (max-width: 992px) {
  .value-flex {
    flex-direction: column;
  }
  .skills-card {
    padding: 30px;
  }
}

/* ============================================================
   SEÇÃO NOSSO VALOR - ESTILO PROFISSIONAL
   ============================================================ */
.value-section {
  position: relative;
  padding: 120px 0;
  background-color: #020a13;
  color: #fff;
  overflow: hidden;
  display: flex;
  align-items: center;
}

/* Camada da Foto de Fundo com Filtro */
.value-bg-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* Substitua pelo nome da sua imagem na pasta img */
  background-image: url("../img/fundo-nosso-valor.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 1;
}

/* Overlay para escurecer a foto e dar o tom azulado da Inchip */
.value-bg-canvas::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(2, 10, 19, 0.95) 0%,
    rgba(0, 40, 80, 0.8) 100%
  );
  z-index: 2;
}

.value-flex {
  position: relative;
  z-index: 10;
  display: flex;
  gap: 80px;
  align-items: center;
}

.value-content {
  flex: 1.2;
}
.value-skills-wrapper {
  flex: 0.8;
}

/* Títulos e Textos */
.value-content h2 {
  font-size: 36px;
  font-weight: 800;
  line-height: 1.2;
  margin: 20px 0;
}

.value-description {
  color: #aeb9c7;
  margin-bottom: 45px;
  font-size: 17px;
}

/* Itens com Ícone Circular Blue */
.value-item {
  display: flex;
  gap: 20px;
  margin-bottom: 35px;
}

.value-circle-icon {
  width: 65px;
  height: 65px;
  background: linear-gradient(135deg, #00a8ff 0%, #0056b3 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  flex-shrink: 0;
  box-shadow: 0 10px 20px rgba(0, 168, 255, 0.3);
}

/* Card de Skills (Glassmorphism) */
.skills-glass-card {
  background: rgba(5, 14, 24, 0.8);
  padding: 50px 40px;
  border-radius: 20px;
  border: 1px solid rgba(0, 168, 255, 0.3);
  backdrop-filter: blur(15px);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
}

.skill-group {
  margin-bottom: 25px;
}
.skill-label {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
  font-weight: 600;
  font-size: 14px;
}

.skill-track {
  height: 8px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
}

.skill-progress {
  height: 100%;
  background: #00a8ff;
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(0, 168, 255, 0.6);
}

.p100 {
  width: 100%;
}

/* Responsividade */
@media (max-width: 992px) {
  .value-flex {
    flex-direction: column;
    text-align: center;
    gap: 50px;
  }
  .value-item {
    text-align: left;
  }
  .value-section {
    padding: 80px 20px;
  }
}
/* ============================================================
   BARRAS DE PROGRESSO (ESTILO LIMPO)
   ============================================================ */

/* Estado inicial da barra (dentro do .skill-track) */
.skill-progress {
  width: 0%; /* Começa zerada para o JS animar */
  height: 100%;
  background: #00a8ff; /* Cor azul Inchip */
  border-radius: 10px;

  /* Brilho fixo sutil (Glow) para aspecto tecnológico, sem mover */
  box-shadow: 0 0 15px rgba(0, 168, 255, 0.7);

  /* Transição suave de 2 segundos de 0 a 100% */
  transition: width 2s cubic-bezier(0.1, 0.5, 0.5, 1);

  /* Removemos qualquer pseudo-elemento ::after ou animação shine aqui */
  position: relative;
  overflow: hidden;
}

/* Classe ativada pelo JavaScript quando a seção aparece */
.skill-progress.active {
  width: 100%;
}

/* Opcional: Garante que o track (fundo da barra) seja escuro */
.skill-track {
  height: 8px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  overflow: hidden;
  position: relative;
}

@media (max-width: 768px) {
  /* 1. Garante que o container pai alinhe o conteúdo ao centro */
  .value-flex {
    display: flex;
    flex-direction: column;
    align-items: center; /* Centraliza os filhos horizontalmente */
    text-align: center;
    padding: 0 15px;
  }

  /* 2. Ajusta o wrapper para ocupar a largura correta e centralizar */
  .value-skills-wrapper {
    width: 100%;
    max-width: 100%;
    margin: 30px 0 0 0; /* Remove margens laterais que causam o desalinhamento */
    display: flex;
    justify-content: center;
  }

  /* 3. O Card de Vidro agora fica centralizado e largo */
  .skills-glass-card {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    padding: 30px 20px;
    box-sizing: border-box;
  }

  /* 4. Ajusta os textos das labels para ficarem alinhados com as barras */
  .skill-label {
    display: flex;
    justify-content: space-between;
    width: 100%;
    padding: 0 2px;
  }
}

/* ============================================================
   SEÇÃO NOSSO VALOR - FOCO NO FUNDO E EFEITO VIDRO
   ============================================================ */
.value-section {
  padding: 100px 5%;
  background-color: #020a13;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.value-bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("../img/tech-data-center.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: rgba(2, 10, 19, 0.9);
  background-blend-mode: multiply;
  z-index: 1;
  opacity: 0.8;
}

.value-flex {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  max-width: 1300px;
  margin: 0 auto;
}

.skills-glass-card {
  background: rgba(5, 14, 24, 0.7);
  padding: 50px;
  border-radius: 20px;
  border: 1px solid rgba(0, 168, 255, 0.2);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
}

.skill-track {
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  margin-bottom: 20px;
}

.skill-progress {
  height: 100%;
  background: #00a8ff;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 168, 255, 0.6);
  width: 0%;
  transition: width 2s cubic-bezier(0.1, 0.5, 0.5, 1);
}

/* ============================================================
   SEÇÃO CTA - ACELERAR PROJETO (ESTILO FINAL)
   ============================================================ */
.cta-project-section {
  padding: 100px 5%;
  background-color: #01080f; /* Fundo base escuro */
  background-image: url("../img/fundo-chamada.jpg");
  background-size: cover;
  background-position: center;
  background-blend-mode: multiply; /* Escurece a imagem conforme original */
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.cta-project-card {
  max-width: 1100px;
  margin: 0 auto;
  padding: 80px 40px;
  border-radius: 30px;
  text-align: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #2299bd 0%, #1a7a96 100%);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
}

/* Grafismo interno da caixa */
.cta-project-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background-image: url("../img/fundo-card.svg");
  background-position: right center;
  background-size: contain;
  background-repeat: no-repeat;
  opacity: 0.4;
  z-index: 0;
}

.cta-project-card h2,
.cta-project-card p,
.btn-cta-dark {
  position: relative;
  z-index: 2; /* Garante que fiquem acima do SVG */
}

.cta-project-card h2 {
  color: #ffffff;
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
}

.cta-project-card p {
  color: rgba(255, 255, 255, 0.95);
  font-size: 19px;
  margin-bottom: 40px;
}

.btn-cta-dark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background-color: #0d1117;
  color: #ffffff !important;
  padding: 18px 45px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 700;
  font-size: 16px;
  transition: 0.3s;
}

.btn-cta-dark:hover {
  background-color: #000000;
  transform: scale(1.05);
}

/* ============================================================
   RESPONSIVIDADE GERAL
   ============================================================ */
@media (max-width: 992px) {
  .value-flex {
    flex-direction: column;
    text-align: center;
    gap: 40px;
  }
  .skills-glass-card {
    padding: 30px;
    width: 100%;
  }
}

@media (max-width: 768px) {
  /* 1. O contêiner pai deve forçar o alinhamento central de todos os filhos */
  .cta-project-card {
    padding: 50px 20px;
    display: flex;
    flex-direction: column;
    align-items: center; /* Alinha o botão horizontalmente no centro */
    text-align: center;
  }

  /* 2. Ajuste do Botão para não "colar" na direita */
  .btn-cta-dark {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 280px; /* Largura máxima para não ficar exagerado */

    /* Margens laterais automáticas garantem centralização perfeita */
    margin-left: auto;
    margin-right: auto;

    padding: 18px 20px;
    box-sizing: border-box;
  }
}

/* ============================================================
   SEÇÃO SOBRE NÓS
   ============================================================ */
.about-section {
  padding: 100px 5%;
  background-color: #020a13;
  color: #fff;
}

.about-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 80px;
  max-width: 1300px;
  margin: 0 auto;
}

/* Imagem Arredondada */
.about-image {
  flex: 1;
  position: relative;
}

.about-image img {
  width: 100%;
  max-width: 550px;
  border-radius: 30px; /* Bordas bem arredondadas conforme imagem */
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  display: block;
}

/* Conteúdo Textual */
.about-content {
  flex: 1;
}

.about-content h2 {
  font-size: 26px;
  line-height: 1.4;
  margin: 20px 0;
  font-weight: 600;
}

.about-subtitle {
  font-weight: 700;
  margin-bottom: 20px;
  color: #fff;
}

/* Lista de Diferenciais */
.about-list {
  list-style: none;
  padding: 0;
  margin-bottom: 40px;
}

.about-list li {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 18px;
  font-size: 15px;
  color: #aeb9c7;
  line-height: 1.5;
}

.about-list li i {
  color: #fff; /* Ícone branco conforme a imagem */
  font-size: 18px;
  margin-top: 2px;
}

/* Botão Azul */
.btn-about {
  display: inline-block;
  background-color: #1ba2d4; /* Azul vibrante da marca */
  color: #fff !important;
  padding: 15px 35px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
  transition: 0.3s;
}

.btn-about:hover {
  background-color: #1585ae;
  transform: translateY(-3px);
}

/* Responsividade Mobile */
@media (max-width: 992px) {
  .about-flex {
    flex-direction: column;
    gap: 50px;
    text-align: left;
  }

  .about-image img {
    max-width: 100%;
  }
}

    }
    

/* Container Principal da Seção */
.partners-section {
  padding: 80px 0;
  background-color: #020a13;
  width: 100%;
  overflow: hidden;
}

/* Novo container para evitar o conflito do container-grid */
.partners-container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  display: block; /* FORÇA O TÍTULO PARA CIMA E O SWIPER PARA BAIXO */
}

.partners-title {
  color: #fff;
  font-size: 32px;
  text-align: center;
  margin-bottom: 50px;
  width: 100%; /* Garante que ocupe a linha toda */
}

.partners-title span {
  color: #00a8ff;
}

/* Ajuste do Swiper */
.partners-swiper {
  width: 100%;
  margin: 0 auto;
}

/* Card da Logo */
.partner-card {
  height: 180px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: transparent;
}

/* Imagem maior e arredondada */
.partner-card img {
  max-width: 90%;
  max-height: 130px; /* Logos maiores */
  border-radius: 20px; /* Pontas arredondadas */
  object-fit: contain;
  display: block;
}

.contact-section {
  padding: 80px 0;
  background-color: #020a13;
  color: #fff;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  margin-top: 40px;
}

/* Infos à esquerda */
.info-item {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 30px;
}

.info-icon {
  width: 60px;
  height: 60px;
  background: rgba(0, 168, 255, 0.1); /* Fundo azul transparente */
  border: 1px solid rgba(0, 168, 255, 0.2);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #00a8ff;
  font-size: 20px;
  flex-shrink: 0;
}

.info-text h3 {
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 4px;
}

.info-text p {
  color: #b0b0b0;
  font-size: 15px;
}

/* Formulário à direita */
.contact-form-box {
  background: rgba(255, 255, 255, 0.02);
  padding: 40px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.inchip-contact-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.inchip-contact-form input,
.inchip-contact-form textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 15px 20px;
  color: #fff;
  outline: none;
  transition: 0.3s;
}

.inchip-contact-form input:focus,
.inchip-contact-form textarea:focus {
  border-color: #00a8ff;
  background: rgba(255, 255, 255, 0.08);
}

.btn-submit-contact {
  background: #00a8ff;
  color: #fff;
  border: none;
  padding: 16px;
  border-radius: 12px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  transition: 0.3s;
  margin-top: 10px;
}

.btn-submit-contact:hover {
  background: #0086cc;
  transform: translateY(-3px);
}

/* Responsividade para Celular */
@media (max-width: 992px) {
  .contact-layout {
    grid-template-columns: 1fr;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
}
/* Container do mapa em largura total */
.full-width-map {
  width: 100%;
  height: 400px;
  margin-top: 60px; /* Espaço entre o form e o mapa */
  filter: grayscale(100%) invert(90%) contrast(90%); /* Efeito Dark no Mapa */
  opacity: 0.8;
  transition: 0.5s;
}

.full-width-map:hover {
  filter: grayscale(0%) invert(0%);
  opacity: 1;
}

.full-width-map iframe {
  display: block;
  width: 100%;
  height: 100%;
}

/* Ajuste na largura do layout de contato superior */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  margin-bottom: 20px;
}

/* Responsividade */
@media (max-width: 992px) {
  .contact-layout {
    grid-template-columns: 1fr;
  }
  .full-width-map {
    height: 300px;
  }
}

/* Layout Geral de Contato */
.contact-layout {
  display: grid;
  grid-template-columns: 1.2fr 1fr; /* Esquerda (form) um pouco maior que a direita */
  gap: 60px;
  margin-top: 40px;
}

/* Coluna Direita (Infos) */
.contact-sidebar-right {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Redes Sociais na Esquerda */
.contact-social {
  margin-top: 30px;
  display: flex;
  align-items: center;
  gap: 15px;
}

.contact-social span {
  font-size: 16px;
  font-weight: 500;
  color: #00a8ff;
}

.social-links {
  display: flex;
  gap: 10px;
}

.social-links a {
  width: 45px;
  height: 45px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  font-size: 18px;
  transition: 0.3s;
}

.social-links a:hover {
  background: #00a8ff;
  color: #fff;
  transform: translateY(-3px);
  border-color: #00a8ff;
}

/* Estilo do Mapa Full Width (Dark Mode) */
.full-width-map {
  width: 100%;
  height: 450px;
  margin-top: 80px;
  filter: grayscale(100%) invert(90%) contrast(90%);
  opacity: 0.7;
  transition: 0.5s;
}

.full-width-map:hover {
  filter: grayscale(0%) invert(0%);
  opacity: 1;
}

/* Responsividade */
@media (max-width: 992px) {
  .contact-layout {
    grid-template-columns: 1fr;
  }
  .contact-left-side {
    order: 1; /* Formulário primeiro no mobile */
  }
  .contact-sidebar-right {
    order: 2;
    margin-top: 40px;
  }
}
/* --- CABEÇALHO (O segredo da imagem) --- */
.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.header-line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin-bottom: 10px;
}

.header-line span {
  color: #00a8ff;
  font-size: 14px;
  font-weight: 500;
  text-transform: none; /* Conforme a imagem */
}

.header-line::before,
.header-line::after {
  content: "";
  width: 35px;
  height: 1px; /* Linha bem fina */
  background-color: #00a8ff;
}

.main-title {
  color: #fff;
  font-size: 52px; /* Tamanho extra grande do modelo */
  font-weight: 700;
  letter-spacing: -1px;
  margin-bottom: 15px;
}

.sub-title {
  color: #fff; /* Na imagem o texto é branco/claro */
  font-size: 15px;
  max-width: 650px;
  margin: 0 auto;
  opacity: 0.9;
}

/* --- LAYOUT E CARDS --- */
.contact-layout {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 40px;
}

.info-card {
  background: rgba(10, 20, 35, 0.6); /* Fundo bem escuro e levemente azulado */
  padding: 40px 30px;
  border-radius: 15px;
  margin-bottom: 20px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.info-card i {
  color: #00a8ff;
  font-size: 32px;
  margin-bottom: 20px;
}

.info-card p {
  color: #fff;
  font-size: 16px;
  margin-bottom: 5px;
  font-weight: 500;
}

/* --- FORMULÁRIO --- */
.inchip-contact-form input,
.inchip-contact-form textarea {
  background: #fff !important; /* Inputs Brancos conforme imagem */
  color: #333 !important;
  border-radius: 8px;
  padding: 12px 15px;
}

.btn-submit-contact {
  background: #0d1b2a; /* Botão azul marinho escuro */
  border: 1px solid rgba(255, 255, 255, 0.1);
  width: 100%;
  padding: 15px;
  font-size: 16px;
  text-transform: none;
}

/* --- REDES SOCIAIS ABAIXO DO FORM --- */
.contact-social-center {
  margin-top: 40px;
  text-align: center;
}

.social-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin-bottom: 20px;
}

.social-divider::before,
.social-divider::after {
  content: "";
  width: 30px;
  height: 1px;
  background: #fff;
}

.social-links a {
  background: #00a8ff;
  color: #fff;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  margin: 0 5px;
}

/* Container da Direita */
.contact-sidebar-right {
  display: flex;
  flex-direction: column;
  gap: 25px; /* Espaço entre os cards */
}

/* O CARD (Conforme a imagem) */
.contact-card {
  background-color: #030d1a; /* Azul bem escuro, quase preto */
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  padding: 40px 30px;
  text-align: center;
  transition:
    transform 0.3s ease,
    border-color 0.3s ease;
}

.contact-card:hover {
  transform: translateY(-5px);
  border-color: #00a8ff;
}

/* Ícone no topo */
.card-icon {
  margin-bottom: 20px;
}

.card-icon i {
  font-size: 35px;
  color: #00a8ff;
  filter: drop-shadow(0 0 10px rgba(0, 168, 255, 0.3));
}

/* Conteúdo do Card */
.card-content h3 {
  color: #fff;
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 15px;
}

.card-content p {
  color: #b0b0b0; /* Cinza claro para os textos menores */
  font-size: 15px;
  line-height: 1.6;
  margin: 0;
}

/* --- Ajuste no Layout de Contato --- */
.contact-layout {
  display: grid;
  grid-template-columns: 1.3fr 1fr; /* Form um pouco maior que os cards */
  gap: 40px;
  align-items: stretch; /* Faz os cards e o form tentarem ter alturas parecidas */
}

@media (max-width: 992px) {
  .contact-layout {
    grid-template-columns: 1fr;
  }
}

.contact-social-center {
  margin-top: 30px;
  text-align: center;
}

.social-title {
  color: #fff;
  font-size: 18px;
  margin-bottom: 15px;
  font-weight: 500;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 15px;
}

.social-links a {
  width: 45px;
  height: 45px;
  background: #00a8ff;
  color: #fff;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: 0.3s;
}

.social-links a:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 168, 255, 0.4);
}

/* Inputs brancos conforme o design solicitado */
.inchip-contact-form input,
.inchip-contact-form textarea {
  background: #ffffff !important;
  color: #333 !important;
  border: none;
  margin-bottom: 10px;
}

.helpdesk-section {
  padding: 100px 0;
  background-color: #020a13;
  color: #fff;
}



/* Centralização dos Parceiros no Desktop */
.partners-section {
  width: 80%;
  margin: 0 auto !important;
  overflow: hidden;
}

@media (max-width: 768px) {
  /* 1. Centraliza a Logo e os textos do Footer */
  .footer-col {
    display: flex;
    flex-direction: column;
    align-items: center; /* Centraliza a logo e títulos */
    text-align: center; /* Centraliza os textos e parágrafos */
    width: 100% !important;
    margin-bottom: 30px;
  }

  .footer-logo {
    margin: 0 auto 15px auto; /* Garante a centralização da imagem */
    max-width: 150px; /* Ajuste o tamanho se necessário */
  }

  /* 2. Força o Grid a virar uma coluna única */
  .footer-grid {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 0;
  }

  /* 3. Centraliza as redes sociais */
  .footer-social {
    justify-content: center !important;
    display: flex;
    gap: 15px;
  }

  /* 4. Ajuste dos links e textos finais */
  .copyright-single-line {
    flex-direction: column !important;
    gap: 10px;
    text-align: center !important;
  }

  .bottom-links {
    justify-content: center !important;
    margin: 10px 0;
  }
}
html,
body {
  overflow-x: hidden; /* Corta qualquer conteúdo que tente "vazar" para a direita */
  width: 100%;
  margin: 0;
  padding: 0;
}

/* ============================================================
   CORREÇÃO DEFINITIVA - HEADER MOBILE (ANULA REGRAS ANTIGAS)
   ============================================================ */

@media (max-width: 1024px) {
  /* 1. LAYOUT EM 2 LINHAS (Logo/Menu no topo, Botões em baixo) */
  .navbar-institucional {
    padding: 15px 0 !important;
  }

  .header-container {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 0 20px !important;
  }

  .header-logo {
    order: 1 !important;
    display: block !important;
    z-index: 9999 !important;
  }

  .menu-mobile-btn {
    order: 2 !important;
    display: block !important;
    z-index: 10005 !important; /* Mantém o ícone acima do menu escuro */
    position: relative !important;
  }

  /* Traz os botões de Suporte para a linha de baixo */
  .header-actions {
    order: 3 !important;
    display: flex !important; /* Anula o display: none antigo */
    width: 100% !important;
    justify-content: center !important;
    margin-top: 20px !important;
    z-index: 9999 !important;
  }

  /* 3. LINKS DENTRO DO MENU */
  .header-links {
    display: flex !important;
    flex-direction: column !important;
    gap: 30px !important;
    text-align: center !important;
    padding: 0 !important;
  }

  .header-links a {
    font-size: 24px !important;
    color: #ffffff !important;
  }
}

/* ============================================================
   HEADER MOBILE DEFINITIVO (BASEADO NO NOVO HTML)
   ============================================================ */

@media (max-width: 1024px) {
  /* 1. Estrutura Principal: Permite quebra de linha (flex-wrap) */
  .header-container {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 15px 20px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Linha 1: Logo à esquerda */
  .header-logo {
    order: 1 !important;
    z-index: 1002 !important;
    display: block !important;
  }

  .header-logo img {
    height: 45px !important; /* Ajuste o tamanho se necessário */
    width: auto !important;
  }

  /* Linha 1: Botão Hambúrguer à direita */
  #btn-mobile {
    order: 2 !important;
    display: block !important;
    background: transparent !important;
    border: none !important;
    color: #fff !important;
    font-size: 28px !important;
    cursor: pointer !important;
    z-index: 99999 !important; /* Mantém o botão SEMPRE clicável, acima de tudo */
    position: relative !important;
  }

  /* Linha 2: Botões de Suporte/Suprimentos embaixo */
  .header-actions {
    order: 3 !important;
    width: 100% !important; /* Força a ir para a linha de baixo */
    display: flex !important;
    justify-content: center !important;
    margin-top: 15px !important;
    z-index: 1001 !important;
  }

  .support-toggle {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    width: 100% !important;
  }

  /* 2. Menu Deslizante (Inicia escondido) */
  #nav {
    position: fixed !important;
    top: 0 !important;
    left: -100% !important; /* Escondido fora da tela */
    width: 100vw !important;
    height: 100vh !important;
    background-color: var(--dark, #020a13) !important;
    z-index: 99990 !important; /* Fica abaixo apenas do botão Hambúrguer */
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    transition: left 0.4s ease-in-out !important;
  }

  /* 3. Ação de Abertura do Menu (Ativada pelo JS) */
  #nav.active {
    left: 0 !important; /* Desliza para dentro da tela */
  }

  /* 4. Estilização dos Links dentro do Menu aberto */
  #nav .header-links {
    display: flex !important;
    flex-direction: column !important;
    gap: 30px !important;
    text-align: center !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  #nav .header-links li {
    list-style: none !important;
  }

  #nav .header-links a {
    font-size: 22px !important;
    color: #fff !important;
    text-decoration: none !important;
    font-weight: bold !important;
    text-transform: uppercase !important;
  }
}

/* ============================================================
   CABEÇALHO INCHIP - AJUSTE FINAL DESKTOP & MOBILE
   ============================================================ */

/* --- 1. ESTILO PARA DESKTOP (Computador) --- */
@media (min-width: 1025px) {
  .navbar-institucional {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    padding: 30px 0;
  }

  .header-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between; /* Logo na esquerda, Menu no meio, Botões na direita */
    align-items: center;
    padding: 0 40px;
    flex-wrap: nowrap !important; /* Força tudo em uma linha só */
  }

  /* Esconde o botão hambúrguer no PC */
  #btn-mobile {
    display: none !important;
  }

  /* Força o Menu a aparecer e ficar centralizado */
  #nav {
    display: flex !important;
    position: static !important;
    width: auto !important;
    height: auto !important;
    background: transparent !important;
    visibility: visible !important;
    opacity: 1 !important;
  }

  .header-links {
    display: flex !important;
    flex-direction: row !important; /* Links lado a lado */
    gap: 40px;
    list-style: none;
    margin: 0;
    padding: 0;
  }

  .header-links a {
    color: #fff !important;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
  }

  /* Mantém os botões de suporte alinhados à direita */
  .header-actions {
    display: flex !important;
    width: auto !important;
    margin-top: 0 !important;
  }
}

/* --- 2. ESTILO PARA MOBILE (Celular/Tablet) --- */
@media (max-width: 1024px) {
  .header-container {
    display: flex !important;
    flex-wrap: wrap !important; /* Permite a quebra para a segunda linha */
    justify-content: space-between !important;
    padding: 15px 20px !important;
  }

  /* Linha 1: Logo e Hambúrguer */
  .header-logo {
    order: 1;
  }
  .header-logo img {
    height: 50px !important;
  }

  #btn-mobile {
    order: 2;
    display: block !important;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 30px;
  }

  /* Linha 2: Botões de Suporte centralizados abaixo */
  .header-actions {
    order: 3;
    width: 100% !important; /* Ocupa a largura toda para descer */
    display: flex !important;
    justify-content: center !important;
    margin-top: 15px !important;
  }

  /* Menu Lateral (Escondido) */
  #nav {
    position: fixed;
    top: 0;
    left: -100%;
    width: 100vw;
    height: 100vh;
    background: #020a13;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: 0.4s;
  }

  #nav.active {
    left: 0 !important;
  }

  .header-links {
    flex-direction: column !important;
    gap: 30px;
    text-align: center;
  }

  .header-links a {
    font-size: 24px !important;
  }
}

/* ============================================================
   AJUSTE DE TAMANHO DA LOGO (DESKTOP & MOBILE)
   ============================================================ */

/* 1. Tamanho no Computador (Desktop) */
@media (min-width: 1025px) {
  .header-logo img {
    height: 60px !important; /* Altura ideal para desktop */
    width: auto !important; /* Mantém a proporção */
    max-width: 200px; /* Limite de largura para segurança */
    display: block;
    transition: transform 0.3s ease;
  }
}

@media (max-width: 1024px) {
  /* ... mantenha as regras de posição (top, left, width) do #nav ... */

  #nav .header-links {
    display: flex !important;
    flex-direction: column !important;
    gap: 15px !important; /* Espaçamento menor entre os itens */
    width: 80%; /* Menu não ocupa a largura total para ficar elegante */
    text-align: center;
  }

  #nav .header-links li {
    list-style: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05); /* Linha divisória sutil */
    padding-bottom: 10px;
  }

  #nav .header-links li:last-child {
    border-bottom: none;
  }

  #nav .header-links a {
    font-size: 18px !important; /* Tamanho reduzido (antes estava 24px+) */
    font-weight: 500 !important;
    color: #ffffff !important;
    text-transform: uppercase;
    letter-spacing: 2px; /* Espaçamento entre letras para dar um ar moderno */
    text-decoration: none;
    transition: 0.3s;
    display: block;
  }

  /* Efeito ao tocar/clicar */
  #nav .header-links a:active,
  #nav .header-links a:hover {
    color: #00a8ff !important;
    transform: scale(1.05);
  }
}

/* ============ AJUSTE DE PRIORIDADE (Z-INDEX) ============ */

/* 1. Garante que o Modal fique acima de ABSOLUTAMENTE TUDO */
.custom-modal {
  z-index: 999999 !important; /* Valor muito alto para superar o menu */
}

/* 2. Ajusta o Menu Mobile para ficar abaixo do Modal */
@media (max-width: 1024px) {
  #nav {
    z-index: 10000 !important; /* Menor que o do modal */
  }

  #btn-mobile {
    z-index: 10001 !important; /* Botão hambúrguer logo acima do nav */
  }
}

/* ============================================================
   AJUSTE DO BOTÃO FECHAR (X) NOS MODAIS - MOBILE
   ============================================================ */
@media (max-width: 768px) {
  .modal-content {
    position: relative !important;
    padding-top: 50px !important; /* Abre espaço no topo para o X não atropelar o título */
    width: 90% !important; /* Garante que o modal não cole nas bordas da tela */
    margin: 20px auto !important;
  }

  .close-btn {
    position: absolute !important;
    top: 10px !important;
    right: 15px !important;
    font-size: 35px !important; /* X maior para facilitar o toque com o dedo */
    color: #ffffff !important; /* Força a cor branca */
    z-index: 1000000 !important; /* Fica acima de tudo dentro do modal */
    cursor: pointer !important;
    display: block !important;
    line-height: 1 !important;
  }
}
/* ============================================================
   CORREÇÃO DO BOTÃO FECHAR (X) NO MOBILE
   ============================================================ */
@media (max-width: 768px) {
  /* 1. Garante que o conteúdo do modal tenha espaço no topo para o X */
  .modal-content {
    position: relative !important;
    padding-top: 45px !important;
    margin: 10% auto !important;
    width: 90% !important;
  }

  /* 2. Estiliza o X para ser visível e clicável */
  .close-btn {
    position: absolute !important;
    top: 10px !important;
    right: 15px !important;
    color: #ffffff !important; /* Força a cor branca */
    font-size: 40px !important; /* Tamanho grande para facilitar o toque */
    line-height: 1 !important;
    display: block !important;
    z-index: 999999 !important; /* Acima de tudo no modal */
    cursor: pointer;
    opacity: 1 !important;
    visibility: visible !important;
  }
}
/* ============================================================
   CORREÇÃO DE VAZAMENTO LATERAL NO MODAL (MOBILE)
   ============================================================ */
@media (max-width: 768px) {
  /* 1. Força o conteúdo a respeitar a largura da tela */
  .modal-content {
    width: 90% !important;
    max-width: 90% !important;
    padding: 20px !important;
    box-sizing: border-box !important; /* Inclui o padding no cálculo da largura */
    overflow-x: hidden !important;
  }

  /* 2. Corrige as divs que colocam inputs lado a lado */
  .modal-content div[style*="display: flex"] {
    display: block !important; /* Transforma o lado a lado em um embaixo do outro */
  }

  /* 3. Ajusta todos os inputs para ocuparem 100% da nova largura */
  .modal-content input,
  .modal-content select,
  .modal-content textarea {
    width: 100% !important;
    margin-bottom: 15px !important; /* Dá um espaçamento entre eles */
    box-sizing: border-box !important;
    display: block !important;
  }

  /* Ajuste específico para os campos que estavam com 50% no HTML */
  .modal-content input[style*="width: 50%"],
  .modal-content input[style*="flex: 1"] {
    width: 100% !important;
    flex: none !important;
  }
}

/* ============================================================
   SISTEMA DE MODAIS - CORREÇÃO FINAL (INCHIP)
   ============================================================ */

/* Fundo do Modal */
.custom-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  z-index: 999999 !important;
  align-items: center;
  justify-content: center;
  padding: 10px; /* Evita que o modal cole no topo/base no celular */
  box-sizing: border-box;
}

/* Caixa do Formulário */
.modal-content {
  background: #050a12;
  padding: 25px;
  border-radius: 10px;
  width: 100%;
  max-width: 500px;
  position: relative;
  border: 1px solid #1b2d44;
  box-sizing: border-box; /* IMPRESCINDÍVEL para não vazar na direita */

  /* Habilita rolagem vertical */
  max-height: 95vh;
  overflow-y: auto;
  overflow-x: hidden; /* Garante que não role para o lado */
}

/* Botão Fechar (X) */
.close-btn {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 35px;
  color: #fff;
  cursor: pointer;
  z-index: 10;
  line-height: 1;
}

/* Ajustes de Inputs para não estourarem a largura */
.modal-content input,
.modal-content select,
.modal-content textarea {
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important; /* Faz o padding ficar "dentro" do input */
  margin-bottom: 15px;
}

/* CORREÇÃO PARA O MOBILE (768px ou menos) */
@media (max-width: 768px) {
  /* Força as divs de Nome/Telefone (flex) a ficarem uma embaixo da outra */
  .modal-content div[style*="display: flex"] {
    display: block !important;
  }

  .modal-content div[style*="display: flex"] input {
    width: 100% !important;
    margin-bottom: 10px;
  }

  /* Garante que o X seja visível e clicável */
  .close-btn {
    top: 5px;
    right: 10px;
    font-size: 40px;
    background: #00a8ff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 10px #000;
  }

  .modal-content h3 {
    margin-top: 25px; /* Abre espaço para o botão circular acima */
    font-size: 18px;
  }
}

/* AJUSTE SEÇÃO BENEFÍCIOS (+30 ANOS) */
@media (max-width: 768px) {
  .benefits-container {
    padding: 0 20px !important; /* Cria o espaço na esquerda e direita */
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  .benefit-card {
    width: 100% !important; /* Garante que o card ocupe a largura disponível menos o padding */
    box-sizing: border-box; /* Garante que o padding não "estoure" a largura */
    margin: 0 auto;
  }
}
/* AJUSTE SEÇÃO SERVIÇOS (CENTRALIZAÇÃO) */
@media (max-width: 768px) {
  .services-container {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important; /* Centraliza os cards um embaixo do outro */
    justify-content: center !important;
    padding: 0 20px !important; /* Também evita que grudem na lateral */
    width: 100%;
    box-sizing: border-box;
  }

  .service-flip-card {
    margin: 10px 0 !important; /* Espaço entre os cards empilhados */
    width: 100% !important;
    max-width: 350px; /* Limita a largura para o card não ficar esticado demais em telas maiores */
  }
}

/* RESET DE MARGENS INVISÍVEIS NO MOBILE */
@media (max-width: 768px) {
  /* 1. Remove qualquer margem negativa que o navegador esteja criando sozinho */
  .benefits-container,
  .services-container,
  .partners-container,
  .helpdesk-layout,
  .contact-layout {
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 20px !important; /* Aqui criamos o espaço que você quer nas laterais */
    padding-right: 20px !important; /* Aqui criamos o espaço que você quer nas laterais */
    width: 100% !important;
    max-width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    box-sizing: border-box !important; /* Garante que o padding não empurre o site para fora */
    left: auto !important;
    right: auto !important;
  }

  /* 2. Garante que os cards fiquem centralizados e não tentem fugir para o lado */
  .benefit-card,
  .service-flip-card {
    background-color: #1b2d44 !important;
  }
  .software-card {
  background-color: #ffffff;
    margin: 0 auto 20px auto !important;
    width: 100% !important;
    max-width: 350px !important; /* Tamanho ideal para não encostar nas bordas */
    position: relative !important;
    left: 0 !important;
  }
}

/* ============================================================
   CENTRALIZAÇÃO DOS CARDS DE ACESSO REMOTO (MOBILE)
   ============================================================ */
@media (max-width: 768px) {
  /* 1. Centraliza o container que segura os cards */
  .helpdesk-cards {
    display: flex !important;
    flex-direction: column !important; /* Empilha um embaixo do outro */
    align-items: center !important; /* Centraliza horizontalmente */
    justify-content: center !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 auto !important;
    left: 0 !important; /* Remove qualquer deslocamento lateral */
  }

  /* 2. Ajusta cada card individualmente */
  .software-card {
  background-color: #ffffff;
    width: 100% !important;
    max-width: 200px !important; /* Largura fixa para não ficarem gigantes */
    margin: 0 auto 20px auto !important; /* Centraliza e dá espaço entre eles */
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    float: none !important; /* Remove qualquer flutuação que jogue para a esquerda */
  }

  /* 3. Ajusta o texto acima dos cards para alinhar com o centro */
  .helpdesk-info {
    text-align: center !important;
    margin-bottom: 30px !important;
    padding: 0 20px !important;
  }
}

/* Container Principal */
.whatsapp-float-container {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Botão Redondo Principal */
.whatsapp-btn-main {
  width: 60px;
  height: 60px;
  background-color: #25d366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 35px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition:
    transform 0.3s ease,
    background-color 0.3s ease;
  text-decoration: none;
}

.whatsapp-btn-main:hover {
  transform: scale(1.1);
  background-color: #128c7e;
}

/* Tooltip com o QR Code (Escondido por padrão) */
.whatsapp-tooltip {
  position: absolute;
  bottom: 80px;
  right: 0;
  background: #fff;
  padding: 15px;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  text-align: center;
  visibility: hidden;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  width: 150px;
}

.whatsapp-tooltip p {
  color: #333;
  font-size: 11px;
  margin-bottom: 8px;
  font-weight: bold;
  text-transform: uppercase;
}

.whatsapp-tooltip img {
  width: 120px;
  height: 120px;
  display: block;
  margin: 0 auto;
}

/* Seta do Balão */
.whatsapp-tooltip::after {
  content: "";
  position: absolute;
  top: 100%;
  right: 20px;
  border-width: 10px;
  border-style: solid;
  border-color: #fff transparent transparent transparent;
}

/* Mostrar ao passar o mouse (Apenas Desktop) */
@media (min-width: 1025px) {
  .whatsapp-float-container:hover .whatsapp-tooltip {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
  }
}

/* Ajuste para Mobile (Esconde o QR Code e diminui o botão) */
@media (max-width: 768px) {
  .whatsapp-tooltip {
    display: none !important; /* Inútil escanear o próprio celular */
  }
  .whatsapp-btn-main {
    width: 50px;
    height: 50px;
    font-size: 30px;
    bottom: 20px;
    right: 20px;
  }
}

/* ============================================================
   ESTILO PARA OS LINKS LEGAIS DO RODAPÉ (INCHIP)
   ============================================================ */

.bottom-links {
  display: flex;
  align-items: center;
  gap: 8px; /* Espaço entre o link e a barrinha | */
}

/* O Link Principal */
.bottom-links a.legal-link {
  color: rgba(255, 255, 255, 0.5); /* Cinza suave por padrão */
  text-decoration: none;
  font-size: 0.85rem;
  transition: all 0.3s ease;
  position: relative;
  padding: 2px 0;
}

/* O Efeito Tecnológico (Hover) */
.bottom-links a.legal-link:hover {
  color: #00a8ff; /* Azul Neon Inchip */
  text-shadow: 0 0 10px rgba(0, 168, 255, 0.6); /* Brilho suave */
}

/* A Barrinha de Divisão | */
.bottom-links span.divider {
  color: rgba(255, 255, 255, 0.2); /* Barrinha bem discreta */
  font-weight: 300;
}

/* AJUSTES MOBILE */
@media (max-width: 768px) {
  .copyright-single-line {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px; /* Mais espaço entre as linhas empilhadas */
    text-align: center;
  }

  .bottom-links {
    justify-content: center;
    width: 100%;
  }
}

/* Container Principal - Ajustado para não ficar sob o menu */
.legal-container {
  max-width: 900px !important;
  /* Aumentamos de 120px para 180px para empurrar o texto para baixo */
  margin: 180px auto 80px !important;
  padding: 0 20px !important;
  box-sizing: border-box !important;
  display: block !important;
  position: relative !important;
}

/* Ajuste específico para Mobile (onde o menu costuma ser diferente) */
@media (max-width: 768px) {
  .legal-container {
    margin-top: 150px !important; /* Espaço um pouco menor no celular */
  }
}
.bottom-links a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: 0.3s;
  font-size: 0.9rem;
}

.bottom-links a:hover {
  color: #00a8ff; /* Azul Inchip */
}

.divider {
  color: rgba(255, 255, 255, 0.2);
  margin: 0 5px;
}

/* Ajuste da Logo no Header (Menu) */
.nav-container .logo img,
header .logo img {
  width: 150px; /* Ajuste este valor conforme o seu gosto */
  height: auto;
  display: block;
  transition: transform 0.3s ease;
}

/* Ajuste da Logo no Footer (Rodapé) */
.footer-col img {
  width: 130px; /* Geralmente a logo do rodapé é um pouco menor */
  height: auto;
  margin-bottom: 20px;
  display: block;
}

/* Efeito de hover opcional */
.footer-col img:hover,
.nav-container .logo img:hover {
  transform: scale(1.05);
}




/* ============================================================
   CONTAINER PADRAO (Footer, Contato, Help-Desk)
   ============================================================ */
.partners-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    box-sizing: border-box;
}

/* ============================================================
   HELP-DESK SECTION
   ============================================================ */
.helpdesk-section {
    padding: 100px 0;
    background-color: #020a13;
    color: #fff;
}

.helpdesk-layout {
    display: flex;
    align-items: center;
    gap: 50px;
    margin-top: 50px;
}

.helpdesk-info {
    flex: 0 0 280px;
}

.helpdesk-info h3 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #fff;
}

.helpdesk-info p {
    color: #aeb9c7;
    font-size: 16px;
    line-height: 1.6;
}

.helpdesk-cards {
    display: flex;
    gap: 25px;
    flex: 1;
}

.software-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(0, 168, 255, 0.15);
    border-radius: 16px;
    padding: 30px;
    text-align: center;
    flex: 1;
    transition: all 0.4s ease;
}

.software-card:hover {
    transform: translateY(-8px);
    background: rgba(0, 168, 255, 0.05);
    border-color: rgba(0, 168, 255, 0.4);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.software-card img {
    max-width: 100%;
    max-height: 80px;
    object-fit: contain;
    margin-bottom: 20px;
}

.download-link {
    display: inline-block;
    background: #00a8ff;
    color: #fff !important;
    padding: 10px 25px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: 0.3s;
}

.download-link:hover {
    background: #0086cc;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 168, 255, 0.3);
}

@media (max-width: 768px) {
    .helpdesk-layout {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }

    .helpdesk-info {
        flex: unset;
        width: 100%;
    }

    .helpdesk-cards {
        flex-direction: column;
        width: 100%;
    }
}

/* ============================================================
   FOOTER PRINCIPAL
   ============================================================ */
.main-footer {
    background: #010810;
    color: #fff;
    padding: 80px 0 0 0;
    border-top: 1px solid rgba(0, 168, 255, 0.1);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 50px;
}

.footer-col {
    display: flex;
    flex-direction: column;
}

.footer-col img {
    width: 140px;
    height: auto;
    margin-bottom: 20px;
}

.footer-desc {
    color: #aeb9c7;
    font-size: 15px;
    line-height: 1.7;
    margin: 0;
}

.footer-title {
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 12px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: #00a8ff;
    border-radius: 2px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #aeb9c7;
    text-decoration: none;
    font-size: 15px;
    transition: color 0.3s, padding-left 0.3s;
}

.footer-links a:hover {
    color: #00a8ff;
    padding-left: 5px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 42px;
    height: 42px;
    background: rgba(0, 168, 255, 0.1);
    border: 1px solid rgba(0, 168, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #00a8ff;
    text-decoration: none;
    font-size: 16px;
    transition: all 0.3s;
}

.footer-social a:hover {
    background: #00a8ff;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 168, 255, 0.3);
}

.footer-bottom {
    margin-top: 50px;
    padding: 25px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(0, 0, 0, 0.2);
}

.copyright-single-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.copyright-single-line p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
    margin: 0;
}

.dev-by a {
    color: #00a8ff;
    text-decoration: none;
    font-weight: 600;
}

.dev-by a:hover {
    text-decoration: underline;
}

.bottom-links {
    display: flex;
    gap: 15px;
    align-items: center;
}

.bottom-links a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.bottom-links a:hover {
    color: #00a8ff;
}

.divider {
    color: rgba(255, 255, 255, 0.2);
}

/* Footer Responsivo */
@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .footer-col {
        align-items: center;
    }

    .footer-title::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-social {
        justify-content: center;
    }

    .copyright-single-line {
        flex-direction: column;
        text-align: center;
    }

    .bottom-links {
        justify-content: center;
    }
}

/* ============================================================
   BOTOES SUPORTE / SUPRIMENTOS (Header)
   ============================================================ */
.header-actions {
    display: flex;
    align-items: center;
}

.support-toggle {
    display: flex;
    align-items: center;
    background: transparent;
    gap: 0;
}

.support-toggle .btn-suporte,
.support-toggle .btn-suprimentos {
    padding: 12px 25px;
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s;
    white-space: nowrap;
    width: 150px; /* Mesmas medidas */
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.support-toggle .btn-suporte {
    background-color: #00a8ff; /* Cor 1: Azul Suporte */
    border-radius: 8px 0 0 8px;
}

.support-toggle .btn-suprimentos {
    background-color: #1b2d44; /* Cor 3: Azul Escuro Suprimentos */
    border-radius: 0 8px 8px 0;
}

.support-toggle .btn-suporte:hover {
    background-color: #0086cc;
    transform: translateY(-2px);
}

.support-toggle .btn-suprimentos:hover {
    background-color: #121e2d;
    transform: translateY(-2px);
}

.head-circle {
    background: #ff9800; /* Cor 2: Laranja/Amarelo para o "OU" */
    color: #000;
    font-size: 11px;
    font-weight: 900;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    margin: 0 -16px; /* Sobrepõe levemente os botões para um design moderno */
    box-shadow: 0 0 10px rgba(0,0,0,0.3);
}

/* ============================================================
   WHATSAPP FLOAT
   ============================================================ */
.whatsapp-float-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
}

.whatsapp-btn-main {
    width: 60px;
    height: 60px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 30px;
    text-decoration: none;
    box-shadow: 0 5px 20px rgba(37, 211, 102, 0.4);
    transition: all 0.3s;
}

.whatsapp-btn-main:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.5);
}

.whatsapp-tooltip {
    display: none;
    background: #fff;
    border-radius: 12px;
    padding: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    text-align: center;
}

.whatsapp-float-container:hover .whatsapp-tooltip {
    display: block;
}

.whatsapp-tooltip p {
    color: #333;
    font-size: 13px;
    margin: 0 0 10px 0;
    font-weight: 600;
}

.whatsapp-tooltip img {
    width: 120px;
    height: 120px;
}

/* ============================================================
   HELP-DESK CARDS (FUNDO BRANCO)
   ============================================================ */
.helpdesk-layout {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    margin-top: 40px;
}

@media (min-width: 992px) {
    .helpdesk-layout {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        text-align: left;
    }

    .helpdesk-info {
        flex: 1;
        text-align: left;
        padding-right: 50px;
    }

    .helpdesk-cards {
        flex: 2;
        justify-content: flex-end;
    }
}
.helpdesk-cards {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}
.benefit-card, .service-flip-card {
    background-color: #1b2d44 !important;
}
.software-card {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
    width: 220px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}
.software-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 168, 255, 0.2);
}
.software-card img {
    max-width: 100%;
    height: 60px;
    object-fit: contain;
}
.software-card .download-link {
    background-color: #00a8ff;
    color: #fff;
    padding: 12px 15px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    width: 100%;
    display: inline-block;
    box-sizing: border-box;
    transition: background-color 0.3s;
}
.software-card .download-link:hover {
    background-color: #0086cc;
}
.helpdesk-info {
    text-align: center;
}
.helpdesk-info h3 {
    font-size: 24px;
    color: #fff;
    margin-bottom: 10px;
}
.helpdesk-info p {
    color: #aeb9c7;
}

/* ============================================================
   MODALS DE SUPORTE E SUPRIMENTOS
   ============================================================ */
.custom-modal {
    display: none;
    position: fixed;
    z-index: 100000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(2, 10, 19, 0.85);
    backdrop-filter: blur(5px);
    overflow-y: auto;
}
.modal-content {
    background-color: #0d1a2b;
    margin: 5vh auto;
    padding: 35px;
    border: 1px solid rgba(0, 168, 255, 0.3);
    border-radius: 12px;
    width: 90%;
    max-width: 550px;
    position: relative;
    box-shadow: 0 15px 40px rgba(0,0,0,0.6);
    color: #fff;
    animation: zoomInUp 0.4s ease forwards;
}
.modal-content h3 {
    margin-top: 0;
    color: #00a8ff;
    margin-bottom: 25px;
    text-align: center;
    font-size: 22px;
}
.close-btn {
    color: #aeb9c7;
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
    transition: color 0.3s;
}
.close-btn:hover {
    color: #fff;
}
.modal-content form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.modal-content input[type="text"],
.modal-content input[type="email"],
.modal-content input[type="number"],
.modal-content select,
.modal-content textarea {
    width: 100%;
    padding: 14px;
    border-radius: 6px;
    border: 1px solid #1b2d44;
    background-color: #050a12;
    color: #fff;
    font-family: inherit;
    font-size: 14px;
    box-sizing: border-box;
    transition: border-color 0.3s;
}
.modal-content input::placeholder,
.modal-content textarea::placeholder {
    color: #7b8a9c;
}
.modal-content input:focus,
.modal-content select:focus,
.modal-content textarea:focus {
    outline: none;
    border-color: #00a8ff;
    box-shadow: 0 0 0 2px rgba(0, 168, 255, 0.2);
}
.modal-content .btn-destaque {
    background-color: #00a8ff;
    color: #fff;
    padding: 16px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 10px;
    width: 100%;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.modal-content .btn-destaque:hover {
    background-color: #0086cc;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 168, 255, 0.3);
}

/* --- AJUSTES FINAIS SOLICITADOS (MOBILE) --- */
@media (max-width: 768px) {
  /* Centralização total do texto Hero */
  .hero-content {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    width: 100% !important;
    padding: 0 20px !important;
    box-sizing: border-box !important;
  }
  
  .hero-content h1 {
    text-align: center !important;
    width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    font-size: 38px !important;
    line-height: 1.2 !important;
  }

  .hero-content .hero-subtitle {
    text-align: center !important;
    width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    margin-bottom: 20px !important;
  }

  /* Garante cor branca nos textos dos cards azul escuro */
  .benefit-card.modern-card {
    background-color: #1b2d44 !important;
    color: #ffffff !important;
    border-color: rgba(0, 168, 255, 0.3) !important;
  }
  
  .benefit-card.modern-card h3,
  .benefit-card.modern-card p {
    color: #ffffff !important;
  }
}

/* Ocultar selo do reCAPTCHA v3 para não sobrepor o WhatsApp */
.grecaptcha-badge { visibility: hidden; }