/* Reset básico */
:root {
  --primary: #003366;
  --secondary: #FF6600;
  --text: #000000;
  --light-gray: #F5F5F5;
  --medium-gray: #E0E0E0;
  --dark-gray: #666666;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

body {
  background-color: #ffffff;
  height: 100vh;
  line-height: 1.6;
  color: #333;
  gap: 20px; /* espaçamento entre os filhos diretos */
  padding-top: 80px; /* Ajuste este valor conforme a altura real do seu header */
}

menu-desktop {
  scroll-margin-top: 80px; /* Ajuste conforme a altura do seu header */
  padding-top: 20px;
}

header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  background-color: #ffffff;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.interface {
  background-color: #F5F5F5;
  padding: 3px 4%;
}

header > .interface {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

header nav ul{
  list-style-type: none;
}

header nav ul li{
  display: inline-block;
  padding: 0 25px;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: #313030;
}

.logo-img {
  width: 40px;
  height: 40px;
  margin-right: 10px;
}

.logo-text {
  font-size: 1.0em;
  font-weight: bold;
  color: #003366;
}

.menu-desktop .menu-item {
  color: #313030;
  text-decoration: none;
  font-size: 1em;
  display: inline-block;
  transition: .2s;
}

.menu-desktop .menu-item:hover {
  color: #000000;
  text-decoration: none;
  transform: scale(1.05);
}

.menu-mobile-button {
  display: none;
  background: none;
  border: none;
  color: #313030;
  cursor: pointer;
  display: inline-block;
}

.menu-mobile-button:houver{
  color: #000000;
  text-decoration: none;
  transform: scale(1.05);
}

.menu-mobile {
  display: none;
  flex-direction: column;
  background-color: #F5F5F5;
  padding: 10px;
}

.menu-mobile-link {
  color: #313030;
  text-decoration: none;
  padding: 10px;
}

.menu-mobile-link:hover {
  color: #000000;
  text-decoration: none;
  display: inline-block;
  transition: .2s;
}

header .btn-contato button {
  padding: 10px 40px;
  font-size: 15px;
  font-weight: 600;
  background-color: #FF6600;
  color: white;
  border: 0;
  border-radius: 20px;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
}

header .btn-contato:hover, 
header .btn-contato button:hover {
  background-color: #e05d00;
  border-radius: 20px;
}

/* Hero Section */
.hero-section {
  height: 600px;
  position: relative;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s;
}

.hero-slide.active {
  opacity: 1;
}

.hero-image {
  height: 100%;
  background-size: cover;
  background-position: center;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 9%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: left;
  text-align: left;
  color: white;
  position: relative;
  margin-left: 20px;
  margin-top: 10px;
}

.hero-content h1 {
  font-size: 2.5rem;
  font-weight: bold;
  margin-bottom: 1.5rem;
  display: flex;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

.hero-content button {
  background-color: #2563eb;
  color: white;
  padding: 0.75rem 2rem;
  border-radius: 0.375rem;
  font-size: 1.125rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s;
}

.hero-content button:hover {
  background-color: #1d4ed8;
}

.slide-indicators {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
}

.indicator {
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 9999px;
  background-color: rgba(255, 255, 255, 0.5);
  border: none;
  cursor: pointer;
}

.indicator.active {
  background-color: #2563eb;
}

/*Sobre nos*/
.services-grid {
  max-width: 1280px; /* Ajuste conforme necessário */
  margin: 0 auto;
  padding: 3rem;
}

.two-column-grid {
  display: grid;
  grid-template-columns: 1fr 1fr; /* 2 colunas de largura igual */
  gap: 3rem; /* Espaço entre colunas */
  align-items: center; /* Alinha verticalmente */
}

.txt-sobre h1 {
  font-size: 2.5rem;
  margin-bottom: 1.3rem;
}

.txt-sobre p {
  font-size: 1.0rem;
  line-height: 2.0;
  margin-bottom: 1rem;
}

.responsive-img {
  width: 100%;
  height: auto;
  border-radius: 10px; /* Opcional */
}

/* Responsividade - Quebra para 1 coluna em mobile */
@media (max-width: 768px) {
  .two-column-grid {
    grid-template-columns: 1fr;
  }
  
  .img-sobre {
    order: -1; /* Opcional: coloca a imagem acima em mobile */
  }
}

/* missao */
/* ===== ESTILOS ADICIONAIS PARA A SEÇÃO "SOBRE NÓS" ===== */

/* Container principal - mais específico */
#sobre-nos .about-section {
  padding: 6rem 0;
  background-color: #f8fafc;
  position: relative;
  overflow: hidden; /* Contém elementos absolutos */
  margin: 0 auto;
}

/* Cabeçalho da seção - mais específico */
#sobre-nos .section-header {
  text-align: center;
  position: relative; /* Para contexto de empilhamento */
  z-index: 1; /* Garante que fique acima do elemento 3D */
  margin: 0 auto;
  max-width: 1200px;
}

#sobre-nos .section-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

#sobre-nos .section-header p {
  font-size: 1.25rem;
  color: #64748b;
  max-width: 700px;
  margin: 0 auto;
}

/* Grid de valores - mais específico */
#sobre-nos .values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
  position: relative;
  z-index: 1;
  margin: 0 auto;
  max-width: 1280px;
}

/* Cards de valores - mais específico */
#sobre-nos .value-card {
  background: white;
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

#sobre-nos .value-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

#sobre-nos .value-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, #2563eb, #3b82f6);
}

/* Seção da equipe - mais específica */
#sobre-nos .team-section {
  margin-top: 6rem;
  position: relative;
  z-index: 1;
}

#sobre-nos .team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 3rem;
  margin-top: 3rem;
  margin: 0 auto;
  max-width: 1280px;
}

/* Elemento 3D - contido e não interfere com outros */
#sobre-nos .three-d-container {
  position: absolute;
  width: 300px;
  height: 300px;
  right: 5%;
  top: 20%;
  z-index: 0; /* Fica abaixo do conteúdo */
  opacity: 0.8;
  pointer-events: none; /* Não interfere com interações */
}

/* REMOVIDO o estilo problemático do body */
/* ADICIONADO contexto de empilhamento seguro */

@media (max-width: 768px) {
  #sobre-nos .section-header h2 {
    font-size: 2rem;
  }
  
  #sobre-nos .section-header p {
    font-size: 1rem;
  }
  
  #sobre-nos .team-member {
    flex-direction: column;
  }
  
  #sobre-nos .three-d-container {
    display: none;
  }
}

/* ===== EQUIPE DE LIDERANÇA ===== */
.team-section {
  padding: 5rem 2rem;
  background-color: #ffffff;
  position: relative;
  overflow: hidden;
}

.team-section .section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.team-section .section-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
}

.team-section .section-header h2::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background: #003366;
  margin: 1rem auto 0;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.team-member {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  z-index: 1;
}

.team-member:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.team-member::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  z-index: 2;
}

.member-image {
  width: 100%;
  height: 320px;
  object-fit: cover;
  object-position: top;
  transition: transform 0.5s ease;
  filter: grayscale(20%);
}

.team-member:hover .member-image {
  transform: scale(1.03);
  filter: grayscale(0%);
}

.member-info {
  padding: 1.8rem;
  text-align: center;
  position: relative;
  background: white;
}

.member-info h4 {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
  color: var(--primary);
}

.member-info .role {
  display: block;
  font-size: 0.9rem;
  color: var(--secondary);
  font-weight: 600;
  margin-bottom: 1rem;
  letter-spacing: 1px;
}

.member-info p {
  color: var(--dark-gray);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Efeito flutuante suave */
.floating {
  animation: floating 6s ease-in-out infinite;
}

@keyframes floating {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-15px); }
  100% { transform: translateY(0px); }
}

/* Responsividade */
@media (max-width: 768px) {
  .team-section {
    padding: 3rem 1rem;
  }
  
  .team-section .section-header h2 {
    font-size: 2rem;
  }
  
  .team-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }
  
  .member-image {
    height: 280px;
  }
}

/* Efeito de hover para dispositivos touch */
@media (hover: none) {
  .team-member:hover {
    transform: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  }
  
  .team-member:hover .member-image {
    transform: none;
    filter: grayscale(20%);
  }
}

/* SEÇÃO DE SETORES - ATUALIZADA PARA CARROSSEL */
.products-section {
  padding: 5rem 2rem;
  background-color: #f8fafc;
  position: relative;
}

.products-section h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  color: #1e293b;
  position: relative;
}

.products-section h2::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background: #003366;
  margin: 1rem auto 0;
}

.products-container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  padding: 0 40px; /* Espaço para os botões */
  
}

.products-grid {
  display: flex;
  gap: 2rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  padding: 1rem 0;
  scrollbar-width: none; /* Firefox */
}

.products-grid::-webkit-scrollbar {
  display: none; /* Chrome/Safari */
}

.products-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-width: 280px;
  scroll-snap-align: start;
  position: relative;
}

.products-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.products-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.products-card:hover img {
  transform: scale(1.05);
}

.card-content {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.products-card h3 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
  color: #1e293b;
}

.products-card p {
  color: #64748b;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.read-more {
  display: inline-block;
  color: #FF6600;
  font-weight: 600;
  text-decoration: none;
  padding: 0.5rem 0;
  position: relative;
  align-self: flex-start;
  transition: all 0.3s ease;
}

.read-more::after {
  content: '→';
  margin-left: 5px;
  transition: margin-left 0.3s ease;
}

.read-more:hover {
  color: #1d4ed8;
}

.read-more:hover::after {
  margin-left: 10px;
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  border: none;
  color: white;
  padding: 10px;
  cursor: pointer;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.prev-btn {
  left: 15px;
}

.next-btn {
  right: 15px;
}

/* Responsividade */
@media (max-width: 768px) {
  .products-section {
      padding: 3rem 1rem;
  }
  
  .products-section h2 {
      font-size: 2rem;
  }
  
  .products-container {
      padding: 0 20px;
  }
  
  .carousel-btn {
      width: 30px;
      height: 30px;
  }
}

.produto-container h2{
    font-size: 2.5em;
    font-weight: bold;
    margin-bottom: 3rem;
    text-align: center;
}

.produto-container h2:after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background: #003366;
  margin: 1rem auto 0;
}

.produtos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 30px;
  margin-bottom: 60px;
  margin: 0 auto;
  max-width: 1280px;
}

.produto-card {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.produto-card:hover {
  transform: translateY(-10px);
}

.produto-image {
  height: 200px;
  background-size: cover;
  background-position: center;
}

.produto-content {
  padding: 25px;
  background: white;
}

.produto-content h3 {
  color: var(--primary);
  margin-bottom: 10px;
}

.brands {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin: 30px 0;
}

.brand-logo {
  height: 60px;
  opacity: 0.7;
  transition: all 0.3s ease;
}

.brand-logo:hover {
  filter: grayscale(0%);
  opacity: 1;
}

.highlight {
  background-color: var(--light-gray);
  padding: 60px 0;
  text-align: center;
  margin: 40px 0;
}

/* Clients Section */
.clients-section {
  padding: 5rem 0;
  background-color: white;
  text-align: center;
  overflow: hidden;
}

.clients-section h2 {
  font-size: 2.5em;
  font-weight: bold;
  margin-bottom: 2rem;
}

.clients-section h2::after {
  content: '';
  display: block;
  width: 80px;
  height: 4px;
  background: #003366;
  margin: 1rem auto 0;
}

.clients-container {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.clients-grid {
  display: flex;
  animation: slideLeft 30s linear infinite;
}

.clients-grid.dragging {
  cursor: grabbing;
  scroll-snap-type: none;
  scroll-behavior: auto;
}

.clients-grid img {
  scroll-snap-align: start;
  width: 180px;
  height: 100px;
  object-fit: contain;
  border-radius: 8px;
  background-color: white;
  padding: 1rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s;
  flex: 0 0 auto;
}

.clients-grid img {
  width: 150px;
  height: auto;
  margin-right: 2rem;
}

@keyframes slideLeft {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%);
  }
}

.clients-grid img:hover {
  transform: scale(1.05);
}

/* Footer */
:root {
  --primary-color: #2563eb;
  --dark-bg: #1e293b;
  --text-light: #f8fafc;
  --text-gray: #94a3b8;
  --hover-color: #3b82f6;
}

.footer {
  background-color: var(--dark-bg);
  color: var(--text-light);
  padding: 4rem 0 2rem;
  font-family: 'Inter', sans-serif;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-col {
  display: flex;
  flex-direction: column;
}

.footer-brand {
  max-width: 350px;
}

.footer-logo {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--text-light);
}

.footer-description {
  color: var(--text-gray);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.footer-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: var(--text-light);
  position: relative;
  padding-bottom: 0.75rem;
}

.footer-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 50px;
  height: 2px;
  background-color: var(--primary-color);
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-link, .footer-text {
  color: var(--text-gray);
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.footer-link:hover {
  color: var(--hover-color);
  transform: translateX(3.5px);
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.contact-icon {
  font-size: 1.25rem;
  margin-top: 0.25rem;
  color: var(--primary-color);
}

.contact-label {
  font-size: 1rem;
  font-weight: 500;
  margin: 0 0 0.25rem 0;
  color: var(--text-light);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid #334155;
}

.footer-copyright {
  color: var(--text-gray);
  font-size: 0.875rem;
}

/* Efeitos e Responsividade */
@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .footer-brand {
    max-width: 100%;
  }
  
  .footer-title {
    margin-bottom: 1rem;
  }
  
  .footer-links {
    gap: 0.5rem;
  }
}

/* Animação suave para hover */
@media (hover: hover) {
  .footer-link {
    transition: transform 0.2s ease, color 0.2s ease;
  }
}

/* Responsividade */
@media (max-width: 768px) {
  .menu-desktop {
      display: none;
  }

  .menu-mobile-button {
      display: block;
  }

  .menu-mobile {
      display: flex;
  }

  .hero-content h1 {
      font-size: 2em;
  }

  .hero-content p {
      font-size: 1.2em;
  }

  .services-grid, .technologies-grid, .products-grid, .clients-grid, .blog-grid, .contact-info {
      grid-template-columns: 1fr;
  }
}

.hero-section {
  margin-bottom: 80px;
}

.services-grid {
  margin: 80px 0;
}

#sobre-nos .about-section {
  margin: 80px 0;
}

.products-section {
  margin: 80px 0;
}

.clients-section {
  margin: 80px 0;
}

.blog-section {
  margin: 80px 0;
}

.contact-section {
  margin: 80px 0;
}

/* Ajuste para dispositivos móveis */
@media (max-width: 768px) {
  .hero-section {
    margin-bottom: 60px;
  }
  
  .services-grid,
  #sobre-nos .about-section,
  .products-section,
  .clients-section,
  .blog-section,
  .contact-section {
    margin: 60px 0;
  }
}

/* Se quiser um espaçamento menor em telas muito pequenas */
@media (max-width: 480px) {
  .hero-section {
    margin-bottom: 40px;
  }
  
  .services-grid,
  #sobre-nos .about-section,
  .products-section,
  .clients-section,
  .blog-section,
  .contact-section {
    margin: 40px 0;
  }
}