/* ============================
   ESTILO GERAL
============================  */
html, body {
  max-width: 100%;
  overflow-x: hidden;
}

body {
  font-family: 'Roboto', sans-serif;
  background-color: #f8f9fa;
  color: #333;
  margin: 0;
  padding: 0;
  padding-top: 80px; /* Espaço para o menu fixo */
}

a {
  color: #0099cc;
  text-decoration: none;
  transition: 0.3s;
}

a:hover {
  color: #007bff;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 10px;
}

/* ============================
   MENU SUPERIOR - CORRIGIDO
============================ */
.menu-superior {
  background: rgba(0, 0, 0, 0.95) !important;
  padding: 15px 5%;
  display: flex;
  justify-content: space-between; /* Mantém logo à esquerda e botões à direita */
  align-items: center;
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 1000;
  box-shadow: 0px 4px 8px rgba(0, 123, 255, 0.3);
  transition: all 0.3s ease-in-out;
  box-sizing: border-box;
}

/* Logo à esquerda */
.menu-superior .logo1 {
  flex: 0 0 auto; /* Não cresce, não encolhe */
  margin-right: 20px; /* Espaço entre logo e menu */
}

.menu-superior .logo1 img {
  width: 120px;
  height: auto;
  display: block;
}

/* Menu lista centralizado entre logo e botões */
.menu-lista {
  list-style: none;
  display: flex;
  gap: 15px; /* Reduzido de 20px para ficar mais compacto */
  margin: 0;
  padding: 0;
  flex: 1; /* Ocupa o espaço disponível */
  justify-content: center; /* Centraliza os itens no espaço disponível */
  align-items: center;
}

.menu-lista li {
  margin: 0;
}

.menu-lista a {
  font-size: 16px;
  font-weight: 500;
  color: #fff;
  padding: 8px 12px; /* Reduzido para ficar mais compacto */
  transition: 0.3s;
  position: relative;
  white-space: nowrap;
}

.menu-lista a:hover {
  color: #0066ff;
}

/* Menu ativo */
.menu-lista a.active {
  color: #0066ff !important;
  font-weight: bold;
}

.menu-lista a.active::after {
  content: '';
  position: absolute;
  bottom: 2px; /* Ajustado */
  left: 12px;
  right: 12px;
  height: 2px;
  background: #0066ff;
}

/* Botões à direita */
.botoes-container {
  flex: 0 0 auto; /* Não cresce, não encolhe */
  display: flex;
  gap: 10px;
  margin-left: 20px; /* Espaço entre menu e botões */
}

/* Botão hambúrguer para mobile */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  background: none;
  border: none;
  padding: 5px;
  z-index: 1001;
}

.hamburger span {
  background: #fff;
  display: block;
  width: 25px;
  height: 3px;
  margin: 4px 0;
  transition: all 0.3s ease-in-out;
  border-radius: 2px;
}

/* Estado do menu aberto */
.menu-aberto .hamburger span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.menu-aberto .hamburger span:nth-child(2) {
  opacity: 0;
}
.menu-aberto .hamburger span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ============================
   MENU MOBILE - DROPDOWN
============================ */
@media (max-width: 992px) {
  body {
    padding-top: 70px;
  }
  
  .menu-superior {
    padding: 10px 5%;
  }
  
  .hamburger {
    display: flex;
  }
  
  .menu-lista {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.98);
    flex-direction: column;
    gap: 0;
    text-align: center;
    padding: 20px 0;
    display: none;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    max-height: calc(100vh - 70px);
    overflow-y: auto;
    flex: 0; /* Remove o flex:1 no mobile */
  }
  
  .menu-aberto .menu-lista {
    display: flex;
  }
  
  .menu-lista li {
    width: 100%;
  }
  
  .menu-lista a {
    display: block;
    padding: 15px 20px;
    font-size: 16px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }
  
  .menu-lista a:last-child {
    border-bottom: none;
  }
  
  .menu-lista a.active::after {
    display: none;
  }
  
  .menu-lista a.active {
    background: rgba(0, 102, 255, 0.1);
    border-left: 4px solid #0066ff;
  }
  
  /* Ajuste dos botões no mobile */
  .botoes-container {
    display: none;
    margin-left: 0;
  }
  
  .menu-mobile-botoes {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 20px;
    margin-top: 10px;
    border-top: 1px solid rgba(255,255,255,0.1);
  }
  
  .menu-mobile-botoes .btn {
    width: 100%;
    text-align: center;
    padding: 12px;
    font-size: 14px;
  }
}

@media (max-width: 768px) {
  .menu-superior {
    padding: 10px 5%;
  }
  
  .menu-superior .logo1 img {
    width: 100px;
  }
  
  .menu-lista {
    top: 60px;
  }
  
  body {
    padding-top: 60px;
  }
}

/* ============================
   PARA TELAS MUITO GRANDES
============================ */
@media (min-width: 1400px) {
  .menu-superior {
    padding: 15px 10%; /* Aumenta o padding em telas muito grandes */
  }
}

/* ============================
   PARA TELAS PEQUENAS (mas ainda desktop)
============================ */
@media (min-width: 993px) and (max-width: 1200px) {
  .menu-lista {
    gap: 10px; /* Reduz ainda mais o gap em telas menores */
  }
  
  .menu-lista a {
    padding: 8px 10px;
    font-size: 15px;
  }
}

/* ============================
   BANNERS COM LARGURA TOTAL
============================ */
.banner-full-width {
  display: block;
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  margin-top: 0;
  margin-bottom: 0;
}

.banner-full {
  width: 100%;
  height: auto;
  display: block;
}

/* Espaçamento para banners dentro de seções */
.selSuporte .banner-full-width {
  margin-top: 40px;
  margin-bottom: 0;
}

.quem-somos .banner-full-width {
  margin-top: 30px;
  margin-bottom: 30px;
}

/* ============================
   BOTÕES
============================ */
.btn {
  padding: 10px 20px;
  font-size: 14px;
  border-radius: 5px;
  transition: 0.3s;
  border: none;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  text-align: center;
  font-weight: 500;
}

.btn-primary {
  background: #0099cc;
  color: white;
}
.btn-primary:hover {
  background: #0077cc;
  color: white;
  transform: translateY(-2px);
}

.btn-success {
  background: #008f39;
  color: white;
}
.btn-success:hover {
  background: #006f2d;
  color: white;
  transform: translateY(-2px);
}

/* ============================
   TÍTULOS E DIVISORES
============================ */
h3.agile-title,
.agile-title {
  font-weight: 600;
  font-size: 2rem;
  color: #007bff;
  text-transform: uppercase;
  margin-bottom: 15px;
}

.divider {
  height: 3px;
  width: 60px;
  background-color: #007bff;
  margin: 20px auto;
}

/* ============================
   SEGMENTOS / CARDS
============================ */
.segmento-texto {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 30px;
  color: #555;
  font-size: 18px;
  line-height: 1.6;
}

.segmentos {
  text-align: center;
  padding: 50px 20px;
}

.segmentos h2 {
  font-size: 28px;
  font-weight: bold;
  color: #007bff;
  margin-bottom: 30px;
}

.segmentos-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  justify-content: center;
  align-items: stretch;
}

.segmento-card {
  background: #fff;
  padding: 25px 15px;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  transition: transform 0.2s ease-in-out;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  min-height: 180px;
}

.segmento-card:hover {
  transform: translateY(-5px);
}

.segmento-card img {
  max-width: 70px;
  margin-bottom: 15px;
  height: 70px;
  object-fit: contain;
}

.segmento-card p {
  font-size: 16px;
  font-weight: 500;
  color: #007bff;
  margin: 0;
  text-align: center;
}

/* RESPONSIVO - Grid adaptativo para segmentos */
@media (max-width: 1200px) {
  .segmentos-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 992px) {
  .segmentos-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .segmentos-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .segmento-card {
    padding: 20px 10px;
    min-height: 160px;
  }
  
  .segmento-card img {
    max-width: 60px;
    height: 60px;
  }
  
  .segmento-card p {
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .segmentos-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
  
  .segmento-card {
    padding: 15px 8px;
    min-height: 140px;
  }
  
  .segmento-card img {
    max-width: 50px;
    height: 50px;
    margin-bottom: 10px;
  }
  
  .segmento-card p {
    font-size: 13px;
  }
}

/* ============================
   SOCIAL ICONS
============================ */
.social-icons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 20px;
}

.social-icons a {
  font-size: 24px;
  color: #00aaff;
  transition: 0.3s;
}
.social-icons a:hover {
  color: #00bbff;
}

.social-icon {
  font-size: 1.5rem;
  color: #007bff;
  transition: color 0.3s ease;
}
.social-icon:hover {
  color: #17a2b8;
}

/* ============================
   SEÇÃO "SUPORTE"
============================ */
.selSuporte {
  position: relative;
}

.selSuporte .agile-title {
  font-size: 1.8rem;
}

.selSuporte .divider {
  width: 100px;
  height: 4px;
}

.selSuporte .texto-centralizado {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.selSuporte .suporte-list {
  display: inline-block;
  text-align: left;
  max-width: 800px;
  margin: 0 auto;
}

.selSuporte .suporte-list li {
  font-size: 1rem;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  text-align: left;
}

.selSuporte .suporte-list li .icon {
  display: flex;
  justify-content: center;
  align-items: center;
  background: #3b82f6;
  color: #fff;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  font-size: 0.9rem;
  margin-right: 10px;
  flex-shrink: 0;
}

.selSuporte h4 {
  font-size: 1.6rem;
  font-weight: 700;
  color: #1b1e27;
  margin-bottom: 25px;
}

/* ============================
   QUEM SOMOS
============================ */
.quem-somos {
  background: #f9f9f9;
  padding: 50px 20px;
}

.quem-somos .agile-title {
  font-size: 28px;
}

.quem-card {
  background: #fff;
  border-radius: 12px;
  padding: 25px 15px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
  height: 100%;
  margin-bottom: 20px;
}

.quem-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 14px rgba(0,0,0,0.12);
}

.quem-card i {
  font-size: 35px;
  color: #007bff;
  margin-bottom: 15px;
}

.quem-card h5 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 15px;
  color: #333;
}

.quem-card p {
  font-size: 14px;
  color: #555;
  line-height: 1.5;
}

.quem-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.quem-card ul li {
  font-size: 14px;
  color: #555;
  margin-bottom: 5px;
}

/* ============================
   FOOTER
============================ */
.footer {
  background-color: #000;
  color: #fff;
  padding: 40px 0;
  text-align: center;
}

.footer-logo img {
  max-width: 150px;
}

.footer a {
  color: #007bff;
  text-decoration: none;
}
.footer a:hover {
  text-decoration: underline;
  color: #17a2b8;
}

.footer p {
  margin-top: 20px;
  font-size: 0.9rem;
}

/* ============================
   WHATSAPP FLOAT
============================ */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  color: #25d366;
  font-size: 3rem;
  z-index: 1000;
  animation: pulse 2s infinite ease-in-out;
}
.whatsapp-float:hover {
  transform: scale(1.2);
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.1); }
  100% { transform: scale(1); }
}

/* ============================
   ANIMAÇÕES
============================ */
.fade-in-up {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.7s ease forwards;
}

.delay-1 { animation-delay: 0.15s; }
.delay-2 { animation-delay: 0.30s; }
.delay-3 { animation-delay: 0.45s; }

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============================
   ÁREA DO CLIENTE
============================ */
.area-cliente-main {
  padding-top: 30px;
  min-height: 70vh;
}

.links-section {
  margin-bottom: 50px;
}

.section-title {
  font-size: 1.8rem;
  font-weight: 600;
  color: #007bff;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.section-subtitle {
  color: #666;
  font-size: 1rem;
  margin-bottom: 30px;
}

.link-card {
  background: #fff;
  border-radius: 12px;
  padding: 25px 15px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  border-top: 4px solid #007bff;
  margin-bottom: 20px;
}

.link-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.link-icon {
  font-size: 2.5rem;
  color: #007bff;
  margin-bottom: 15px;
  text-align: center;
}

.link-content {
  flex: 1;
  text-align: center;
}

.link-content h3 {
  font-size: 1.2rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 10px;
}

.link-content p {
  color: #666;
  font-size: 0.9rem;
  margin-bottom: 20px;
  line-height: 1.5;
}

.btn-download, .btn-link {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 5px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 0.9rem;
}

.btn-download {
  background: #28a745;
  color: white;
}

.btn-download:hover {
  background: #218838;
  color: white;
  text-decoration: none;
  transform: translateY(-2px);
}

.btn-link {
  background: #007bff;
  color: white;
}

.btn-link:hover {
  background: #0056b3;
  color: white;
  text-decoration: none;
  transform: translateY(-2px);
}

.info-section {
  background: #f8f9fa;
  padding: 40px 20px;
  border-radius: 12px;
  margin-top: 40px;
}

.info-card {
  max-width: 600px;
  margin: 0 auto;
}

.info-card i {
  font-size: 2.5rem;
  color: #007bff;
  margin-bottom: 20px;
}

.info-card h3 {
  font-size: 1.6rem;
  color: #333;
  margin-bottom: 10px;
}

.info-card p {
  color: #666;
  margin-bottom: 25px;
  font-size: 1rem;
}

/* ============================
   SWIPER CARROSSEL
============================ */
.swiper {
  width: 100%;
  height: auto;
  margin-top: 0;
}

.swiper-slide {
  text-align: center;
  background: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
}

.swiper-slide img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.swiper-button-next,
.swiper-button-prev {
  color: #007bff !important;
}

.swiper-pagination-bullet-active {
  background: #007bff !important;
}

/* ============================
   UTILITÁRIOS
============================ */
.text-center {
  text-align: center;
}

.mt-4 { margin-top: 1.5rem !important; }
.mt-5 { margin-top: 3rem !important; }
.mb-3 { margin-bottom: 1rem !important; }
.mb-4 { margin-bottom: 1.5rem !important; }
.mb-5 { margin-bottom: 3rem !important; }
.py-4 { padding-top: 1.5rem !important; padding-bottom: 1.5rem !important; }
.py-5 { padding-top: 3rem !important; padding-bottom: 3rem !important; }
.px-3 { padding-left: 1rem !important; padding-right: 1rem !important; }

.list-unstyled {
  padding-left: 0;
  list-style: none;
}

.img-fluid {
  max-width: 100%;
  height: auto;
}

/* Garantir que imagens não ultrapassem o container */
img {
  max-width: 100%;
  height: auto;
}