/* style.css - Página única responsiva para Treesys Informática Ltda */

/* Reset básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  html {
    scroll-behavior: smooth;
  }
  
  /* Body e links */
  body {
    font-family: Arial, sans-serif;
    color: #333;
    line-height: 1.6;
  }
  a {
    text-decoration: none;
  }
  a, a:visited {
    color: inherit;
  }
  
  /* Hero com vídeo rotativo */
  .hero {
    width: 100%;
    height: 60vh; /* mesmo comportamento do linxdatamonitor */
    position: relative;
    overflow: hidden;
  }
.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

  .hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
  }
  
  /* Menu e logo sobrepostos no hero */
  .hero-header {
    position: sticky;
    top: 0;
    background: transparent;
    padding: 0.5rem 5%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 9999;
  }
  .hero-header .logo img {
    max-width: 150px;
    height: auto;
  }
  .hero-header nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
  }
  .hero-header nav a {
    font-size: 1rem;
    color: #fff;
  }
  .hero-header nav a:hover {
    text-decoration: underline;
  }

  
  /* Hamburger menu toggle */
  .menu-toggle {
    display: none;
    font-size: 1.8rem;
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    z-index: 10000;
  }
  
  /* Conteúdo central do hero */
  .hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #fff;
    padding: 0rem 1rem 0rem 1rem; /* top, right, bottom, left */
  }
  
  .hero-content h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
  }
  .hero-content p {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
  }
  .btn.primary {
    display: inline-block;
    padding: 0.7rem 1.5rem;
    background: #FF8C00;
    color: #fff;
    border-radius: 4px;
    transition: transform 0.2s ease;
  }
  .btn.primary:hover {
    background: #e07a00;
    transform: scale(1.05);
  }
  
  /* Seções gerais */
  section {
    padding: 2rem 5%;
  }
  #products {
    background: #f9f9f9;
  }
  #products h2, #team h2, #clients h2, #contact h2 {
    text-align: center;
    margin-bottom: 1.5rem;
    color: #007ACC;
  }
  
  /* Grid de Produtos */
  .products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
  }
  .products-grid figure {
    position: relative;
    overflow: hidden;
    background: #fff;
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  .products-grid figure:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  }
  /* Ajusta imagens e vídeos de produto para tamanho uniforme */
  .products-grid img,
  .products-grid video.product-video {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 4px;
    margin-bottom: 0.5rem;
  }
  
  /* Grid de Equipe */
  .team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
  }
  .team-member {
    text-align: center;
    background: #fff;
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  .team-member:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  }
  .team-member img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 0.5rem;
  }
  .team-member h4 {
    margin-bottom: 0.3rem;
    color: #007ACC;
  }
  
  /* Grid de Clientes */
  .clients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
  }
  .client-testimonial {
    text-align: center;
    background: #fff;
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  .client-testimonial:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  }
  .client-testimonial img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 0.5rem;
  }
  .client-testimonial h4 {
    margin-bottom: 0.3rem;
    color: #007ACC;
  }
  .client-testimonial blockquote {
    font-style: italic;
    margin-bottom: 0.5rem;
  }
  .client-testimonial cite {
    font-size: 0.9rem;
    color: #666;
  }
  
  /* Formulário de Contato */
  .contact-form {
    max-width: 600px;
    margin: 0 auto;
    background: #fff;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  }
  .form-group {
    margin-bottom: 1rem;
  }
  .form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
    color: #333;
  }
  .form-group input, .form-group textarea {
    width: 100%;
    padding: 0.7rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    color: #333;
  }
  .btn.secondary {
    display: inline-block;
    padding: 0.7rem 1.5rem;
    background: #007ACC;
    color: #fff;
    border-radius: 4px;
    transition: transform 0.2s ease;
  }
  .btn.secondary:hover {
    background: #005f99;
    transform: scale(1.05);
  }
  
  /* Footer */
  footer {
    position: relative;
    overflow: hidden;
    text-align: center;
    padding: 1rem 5%;
    background: #007ACC;
    color: #fff;
  }
  .footer-bg {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: auto;
    object-fit: cover;
    aspect-ratio: 16/9;
    z-index: 0;
  }
  .footer-content {
    position: relative;
    z-index: 1;
  }
  
  /* Back-to-Top Button */
  #back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    display: none;
    background: #007ACC;
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 3rem;
    height: 3rem;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
    transition: opacity 0.3s ease;
    z-index: 10000;
  }
  #back-to-top:hover {
    background: #005f99;
  }
  
  /* Logo Pulse Animation */
  @keyframes logoAnimate {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
  }
  .logo-animate {
    animation: logoAnimate 1.2s ease-in-out both;
  }
  
  /* Responsividade */
  @media (max-width: 768px) {
    /* Menu hamburger */
    .menu-toggle {
      display: block;
    }
    .hero-header nav ul {
      display: none;
      flex-direction: column;
      background: rgba(51, 50, 50, 0.9);
      position: absolute;
      top: 80%;
      right: 5%;
      width: 130;
      max-height: 70vh; /* limita o menu em mobile */
      overflow-y: auto; /* permite rolagem se ultrapassar */
      padding: 1rem;
      border-radius: 5px;
      z-index: 10000;
    }
    
    .hero-header nav ul.visible {
      display: flex;
    }
    .hero-header nav ul li {
      margin: 0.5rem 0;
    }
  
    /* Stack simples para hero-content */
    .hero-header nav ul li a {
      color: #fff;
    }
    .hero-content h1 {
      font-size: 2rem;
    }
  }
  /* ===== Ajustes específicos para logo e menu no mobile ===== */
@media (max-width: 768px) {
    .hero-header {
      padding: 0rem 0rem;        /* mais espaço lateral */
    }
    .hero-header .logo {
      order: 1;                    /* primeiro item */
      margin-right: auto;          /* empurra tudo pras direitas */
    }
    .menu-toggle {
      display: block;              /* garante que fique visível */
      order: 2;                    /* depois do logo */
      margin-left: 1rem;          /* distância até a borda direita */
    }
    .hero-header nav {
      order: 3;                    /* por último */
      position: absolute;          
      top: 20%;                   
      right: 1.6rem;                 /* fixa 1rem da borda direita */
      background: rgba(27, 27, 41, 0.9);
      border-radius: 4px;
      width: 0px;                
      padding: 0.5rem 0rem;
    }
    .hero-header nav ul.visible {
      display: flex;
      flex-direction: column;
    }
    .hero-header nav ul li {
      margin: 0rem 0;
    }
  }
  .hero.menu-open {
    height: auto;
    min-height: 60h;
  }
  
  /* ===== Desativa overlay do hero-content em telas ≤1024px ===== */
@media (max-width: 1024px) {
  .hero-content {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    transform: none !important;
    margin: 1rem 5% !important;   /* um espacinho extra */
    text-align: center;           /* centraliza o texto */
  }
}

@media (max-width: 768px) {
  .hero {
    min-height:580px;
  }
}

/* Mensagem de status elegante */
.form-status {
    margin-top: 15px;
    font-size: 15px;
    text-align: center;
    display: none;
    padding: 10px;
    border-radius: 5px;
  }
  
  /* Estilo para cada tipo de mensagem */
  .form-status.info {
    background-color: #007BFF;
    color: white;
  }
  
  .form-status.success {
    background-color: #4CAF50;
    color: white;
  }
  
  .form-status.error {
    background-color: #F44336;
    color: white;
  }
  .phone-group .phone-inputs {
    display: flex;
    gap: 0.5rem;
    align-items: center;
  }
  
  #country-code {
    flex: 0 0 5.5rem;   /* largura fixa para o código */
    padding: 0.7rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    background: #f9f9f9;
  }
  
  #phone {
    flex: 1;            /* ocupa o restante */
    padding: 0.7rem;
    border: 1px solid #ccc;
    border-radius: 4px;
  }

  /* ==== LinxData Monitor Prospect v1 ==== */

/* Hero “LinxDataMonitor” */
.ld-hero {
  background: #f2f6fa;
  padding: 4rem 5%;
  text-align: center;
}
.ld-hero h1 {
  font-size: 2.5rem;
  color: #003366;
  margin-bottom: 1rem;
}
.ld-hero .tagline {
  font-size: 1.2rem;
  color: #005a99;
  margin-bottom: 2rem;
}
.ld-hero .btn-download {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background: #005a99;
  color: #fff;
  border-radius: 4px;
  transition: background 0.2s;
}
.ld-hero .btn-download:hover {
  background: #003d66;
}

/* Seções padrão do Prospect */
.ld-section {
  padding: 3rem 5%;
  max-width: 1000px;
  margin: 0 auto;
}
.ld-section h2 {
  font-size: 2rem;
  color: #003366;
  margin-bottom: 1rem;
}

/* Tabela de Especificações */
.ld-section table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
}
.ld-section table th,
.ld-section table td {
  border: 1px solid #ccc;
  padding: 0.75rem;
  text-align: left;
}
.ld-section table th {
  background: #e6eef4;
}

/* Lista de Documentação */
.ld-doc-list {
  list-style: none;
  padding: 0;
}
.ld-doc-list li {
  margin-bottom: 0.5rem;
}

.whatsapp-float {
  position: fixed;
  bottom: 80px; /* acima do botão voltar ao topo */
  right: 20px;
  z-index: 1000;
}

.whatsapp-float img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}


