:root {
  /* ============================================== */
  /* NOVA PALETA DE CORES - ALINHADA COM SUA LOGO   */
  /* ============================================== */
  --primary-main: #13678a; /* Seu azul/verde da logo */
  --primary-light: #1da2c0; /* Um tom mais claro e vibrante para o topo do gradiente */
  --primary-dark: #0f4c63; /* Um tom mais escuro e profundo */

  --premium-gradient: linear-gradient(100deg, var(--primary-main) 100%);

  --dark-navy: #0a192f;
  --dark-text: #1a202c;
  --light-text: #718096;
  --background-page: #f7fafc;
  --white: #ffffff;
  --border-color: #e2e8f0;

  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05),
    0 2px 4px -1px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.08),
    0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 20px 25px -5px rgba(19, 103, 138, 0.1),
    0 10px 10px -5px rgba(19, 103, 138, 0.08);
  --shadow-button-hover: 0 10px 20px rgba(19, 103, 138, 0.4);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 120px;
}

body {
  color: var(--dark-text);
  background-color: var(--background-page);
  line-height: 1.8;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}

.header {
  position: fixed;
  top: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 3rem);
  max-width: 1140px;
  z-index: 1000;
  padding: 10px 0;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(14px) saturate(180%);
  -webkit-backdrop-filter: blur(14px) saturate(180%);
  border-radius: 20px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.25);
  transition: all 0.3s ease;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  max-height: 50px;
  width: auto;
  transition: transform 0.3s ease;
}

.logo img:hover {
  transform: scale(1.05);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 40px;
  list-style: none;
}

.nav-link {
  color: var(--dark-text);
  text-decoration: none;
  font-weight: 500;
  position: relative;
  transition: color 0.3s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--premium-gradient);
  transition: all 0.4s ease;
}

.nav-link:hover {
  color: var(--primary-main);
}

.nav-link:hover::after {
  width: 100%;
  left: 0;
}

.nav-cta {
  padding: 10px 24px;
  font-size: 0.95rem;
  white-space: nowrap; /* Impede quebra de linha em telas médias */
  transition: all 0.3s ease;
}

.hamburger {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
}

.bar {
  display: block;
  width: 25px;
  height: 3px;
  margin: 5px auto;
  background-color: var(--dark-text);
  border-radius: 2px;
  transition: all 0.3s ease-in-out;
}

@media (max-width: 992px) {
  .nav-menu,
  .nav-cta {
    display: none;
  }

  .hamburger {
    display: block;
    position: relative;
    z-index: 1002;
  }

  .hamburger.is-active .bar:nth-child(2) {
    opacity: 0;
  }
  .hamburger.is-active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  .hamburger.is-active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .nav-menu.is-active {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 50px;
    z-index: 998;
  }

  .header.is-active {
    z-index: 999;
  }

  .nav-link {
    font-size: 1.5rem;
  }
}
.hero-section {
  position: relative;
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: center;
  background: #111;
  overflow: hidden;
}
#hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  z-index: 1;
  opacity: 0.8;
}
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    rgba(10, 20, 30, 0.85) 0%,
    rgba(0, 0, 0, 0.6) 100%
  );
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
  padding-top: 80px;
}
.hero-text {
  text-align: left;
  max-width: 750px;
}
.hero-text h1 {
  font-size: 4.2rem;
  color: var(--white);
  font-weight: 800;
  margin-bottom: 25px;
  line-height: 1.15;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.6);
}

.hero-text .highlight {
  color: var(--primary-light);
  text-shadow: 0 0 5px rgba(29, 162, 192, 0.5), 0 0 15px rgba(29, 162, 192, 0.3);
}
.hero-text p {
  font-size: 1.3rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 45px;
  font-weight: 300;
  max-width: 600px;
}

.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.05rem;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  border: none;
  cursor: pointer;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.btn-primary {
  background: var(--premium-gradient);
  color: var(--white);
  box-shadow: var(--shadow-md);
}
.btn-primary:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.btn-secondary {
  background: var(--primary-main);
  color: var(--white);
  box-shadow: var(--shadow-md);
}
.btn-secondary:hover {
  background: var(--primary-dark);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.content-wrapper {
  position: relative;
  z-index: 5;
  margin-top: -80px;
  background-color: var(--white);
  border-top-left-radius: 40px;
  border-top-right-radius: 40px;
  box-shadow: 0 -20px 50px -20px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}
main section {
  padding: 120px 0;
}

.contact-section {
  padding: 120px 0;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--dark-text);
  margin-bottom: 60px;
}
.section-title::after {
  content: "";
  display: block;
  width: 60px;
  height: 4px;
  background: var(--premium-gradient);
  margin: 20px auto 0;
  border-radius: 2px;
}

.stats-section,
.services-section,
.platform-section,
.contact-section {
  background-color: var(--white);
}

.contact-section {
  background-color: var(--background-page);
}

.team-section,
.testimonials-section {
  background-color: var(--background-page);
}
.team-section,
.footer {
  border-radius: 0;
}

@keyframes shine {
  0% {
    transform: translateX(-100%) skewX(-20deg);
  }
  100% {
    transform: translateX(200%) skewX(-20deg);
  }
}
.stat-item,
.service-card,
.testimonial-card {
  padding: 30px;
  border-radius: 16px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: all 0.4s ease;
  text-align: center;
  position: relative;
  overflow: hidden;
  background-color: var(--white);
}
.stat-item:hover,
.service-card:hover,
.testimonial-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-main);
}
.stat-item::after,
.service-card::after,
.testimonial-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.4) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  opacity: 0;
  transition: opacity 0.5s ease;
}
.stat-item:hover::after,
.service-card:hover::after,
.testimonial-card:hover::after {
  opacity: 1;
  animation: shine 1.2s ease;
}

/* ESTILOS DOS COMPONENTES */
.stats-grid,
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}
.stat-item h3 {
  font-size: 3rem;
  color: var(--primary-main); /* Corrigido */
  font-weight: 700;
}
.service-card i {
  font-size: 3rem;
  background: var(--premium-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 20px;
}
.service-card h3 {
  font-size: 1.4rem;
  margin-bottom: 15px;
  font-weight: 600;
}

/* ============================================== */
/* TEAM SECTION - ATUALIZADA (IMAGEM GRANDE)      */
/* ============================================== */
.team-section {
  color: var(--white);
  background: var(--dark-navy);
  position: relative;
  z-index: 5; /* Garante que fique acima de backgrounds padrão */
}

.team-section .section-title,
.team-section h2,
.team-section p {
  color: var(--white);
}

.team-content {
  display: flex;
  align-items: center;
  gap: 50px; /* Espaço equilibrado */
  text-align: left;
}

/* AQUI ESTÁ O SEGREDO: Aumentamos o flex da imagem */
.team-images {
  flex: 1.5; /* A imagem agora ocupa 60% do espaço (antes ocupava menos da metade) */
  position: relative;
}

.team-text {
  flex: 1; /* O texto ocupa menos espaço, dando destaque à foto */
}

.team-images img {
  width: 100%;
  /* Altura Fixa e Grande: */
  height: 500px;
  /* Garante que a imagem cubra a área sem esticar/distorcer: */
  object-fit: cover;
  /* Foca no topo/centro para não cortar a cabeça das pessoas: */
  object-position: center top;
  border-radius: 20px; /* Borda mais arredondada e moderna */
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.1); /* Borda sutil para acabamento premium */
}

/* AJUSTE RESPONSIVO (NECESSÁRIO PARA MOBILE) */
@media (max-width: 992px) {
  .team-content {
    flex-direction: column;
    text-align: center;
    gap: 30px;
  }

  .team-images,
  .team-text {
    flex: auto;
    width: 100%; /* Ocupa largura total no mobile */
  }

  .team-text {
    order: 2;
    margin-top: 10px;
  }

  .team-images {
    order: 1;
  }

  /* No celular, a imagem fica um pouco mais baixa para caber na tela */
  .team-images img {
    height: 350px;
  }
}

.platform-image {
  max-width: 90%;
  margin-top: 40px;
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
}

/* SEÇÃO DE DEPOIMENTOS (Já estava ótima) */
.google-review {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 40px;
  font-size: 1.1rem;
}
.stars {
  color: #ffd700; /* Dourado para estrelas */
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.client-info {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-top: 20px;
  text-align: left;
}
.client-info img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--primary-main); /* Corrigido */
  padding: 2px;
}
.client-info strong {
  font-weight: 600;
  display: block;
  color: var(--dark-text);
}
.client-info span {
  font-size: 0.9rem;
  color: var(--light-text);
}

/* ============================================== */
/* NOVA SEÇÃO DE CONTATO (COM FORMULÁRIO)         */
/* ============================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr; /* Coluna de info | Coluna de form */
  gap: 50px;
  background-color: var(--white); /* Card branco */
  padding: 60px;
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  align-items: flex-start;
}

.contact-info h3 {
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--dark-text);
  margin-bottom: 20px;
  line-height: 1.4;
}
.contact-info p {
  color: var(--light-text);
  margin-bottom: 30px;
}
.info-item {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
  color: var(--dark-text);
  font-weight: 500;
}
.info-item i {
  font-size: 1.1rem;
  color: var(--primary-main); /* Corrigido */
  width: 20px;
  text-align: center;
}

.contact-form form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.form-group {
  display: flex;
  flex-direction: column;
}
.form-group label {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--light-text);
  margin-bottom: 8px;
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  font-size: 1rem;
  font-family: "Poppins", sans-serif;
  background-color: var(--background-page);
  transition: all 0.3s ease;
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-main); /* Corrigido */
  background-color: var(--white);
  box-shadow: 0 0 0 3px rgba(19, 103, 138, 0.1);
}
.form-group textarea {
  resize: vertical;
}
.contact-form .btn-primary {
  width: 100%;
  font-size: 1.1rem;
  padding: 16px;
}

/* ============================================== */
/* FOOTER PERFEITO                                */
/* ============================================== */
.footer {
  padding: 80px 0 40px 0;
  background-color: var(--dark-navy);
  color: rgba(255, 255, 255, 0.7);
  position: relative;
  z-index: 4;
}
.footer-content {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 60px;
  flex-wrap: wrap;
}
.footer-column {
  flex: 1;
  min-width: 220px;
}
.footer-column.about {
  flex: 1.5;
}
.footer-logo {
  max-height: 50px; /* Reduzido para ficar mais elegante */
  margin-bottom: 20px;
}
.footer-about-text {
  font-size: 0.95rem;
  line-height: 1.8;
}
.footer-title {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 25px;
  position: relative;
}
.footer-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 30px;
  height: 2px;
  background: var(--premium-gradient); /* Corrigido */
}
.footer-column ul {
  list-style: none;
}
.footer-column ul li a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  display: block;
  margin-bottom: 10px;
  transition: all 0.2s ease;
}
.footer-column ul li a:hover {
  color: var(--white);
  transform: translateX(5px);
}
.footer-column.contact p {
  display: flex;
  align-items: flex-start;
  margin-bottom: 15px;
}
.footer-column.contact i {
  margin-right: 15px;
  margin-top: 4px;
  color: var(--primary-main); /* Corrigido */
}
.social-icons {
  margin-top: 25px;
}
.social-icons a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--white);
  margin-right: 10px;
  text-decoration: none;
  transition: all 0.3s ease;
}
.social-icons a:hover {
  background: var(--premium-gradient); /* Corrigido */
  transform: translateY(-3px);
}
.footer-bottom {
  text-align: center;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.9rem;
}
.footer-bottom a {
  color: var(--white);
  text-decoration: none;
}
.footer-bottom a:hover {
  text-decoration: underline;
}

/* BOTÃO VOLTAR AO TOPO (Estilo já existia, agora vai funcionar) */
.back-to-top-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: var(--premium-gradient); /* Corrigido */
  color: var(--white);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.2rem;
  text-decoration: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.4s ease;
  z-index: 1000;
}
.back-to-top-btn.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.back-to-top-btn:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-button-hover); /* Sombra Corrigida */
}

/* ============================================== */
/* RESPONSIVIDADE                                 */
/* ============================================== */
@media (max-width: 992px) {
  .stats-grid,
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  .team-content {
    flex-direction: column;
    text-align: center;
  }
  .team-text {
    order: 2;
    margin-top: 30px;
  }
  .team-images {
    order: 1;
  }
  .hero-text h1 {
    font-size: 3.2rem;
  }
  /* Ajuste do formulário de contato para tablet */
  .contact-grid {
    grid-template-columns: 1fr; /* Uma coluna em tablet */
    padding: 40px;
  }
}

@media (max-width: 768px) {
  .header {
    margin: 0.5rem;
    top: 0.5rem;
    width: calc(100% - 1rem);
  }
  .hero-section {
    min-height: 90vh;
  }
  .hero-content {
    padding-top: 100px; /* Aumenta o espaço em mobile */
  }
  .hero-text {
    text-align: center;
  }
  .hero-text h1 {
    font-size: 2.5rem;
  }
  .hero-text p {
    font-size: 1.1rem;
    max-width: 100%;
  }
  .content-wrapper {
    margin-top: -60px;
    border-top-left-radius: 30px;
    border-top-right-radius: 30px;
  }
  main section {
    padding: 80px 20px;
  }
  .stats-grid,
  .services-grid {
    grid-template-columns: 1fr;
  }

  /* Ajuste da seção de contato para mobile */
  .contact-section {
    padding: 80px 0 0 0; /* Remove padding lateral */
    background-color: var(--white); /* Fundo branco em mobile */
  }
  .contact-grid {
    padding: 30px;
    border-radius: 0; /* Sem bordas em mobile */
    box-shadow: none; /* Sem sombra em mobile */
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
  }
  .footer-title::after {
    left: 50%;
    transform: translateX(-50%);
  }
}
/* ============================================== */
/* BOTÃO WHATSAPP FLUTUANTE - VERSÃO FINAL PERFEITA */
/* ============================================== */
.whatsapp-button {
  position: fixed;
  bottom: 30px;
  /* Agora ele fica à esquerda para não brigar com o "Voltar ao Topo" */
  left: 30px;
  width: 60px;
  height: 60px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: var(--shadow-md);
  z-index: 1001; /* Z-index alto para garantir que fique por cima de tudo */
  transition: all 0.3s ease;
  text-decoration: none;
}
/* Move o botão "Voltar ao Topo" para cima se o WhatsApp estiver visível */
.back-to-top-btn.show {
  bottom: 100px; /* Sobe 60px (altura do WA) + 10px (margem) + 30px (margem original) */
}

/* Regra específica e de alta prioridade para o ícone */
.whatsapp-button i.fab.fa-whatsapp {
  font-size: 36px; /* Tamanho do ícone */
  color: var(--white); /* COR BRANCA, GARANTIDO */
  transition: transform 0.3s ease;
}

.whatsapp-button:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  background-color: #128c7e; /* Cor mais escura no hover */
}

/* Efeito de rotação no ícone ao passar o mouse */
.whatsapp-button:hover i.fab.fa-whatsapp {
  transform: scale(1.1) rotate(10deg);
}
/* ============================================== */
/* ANIMAÇÃO DE BRILHO SUTIL "RESPIRANDO"          */
/* ============================================== */
@keyframes breathe-glow {
  0% {
    text-shadow: 0 0 4px rgba(29, 162, 192, 0.3),
      0 0 10px rgba(29, 162, 192, 0.2);
  }
  50% {
    text-shadow: 0 0 10px rgba(29, 162, 192, 0.6),
      0 0 25px rgba(29, 162, 192, 0.4);
  }
  100% {
    text-shadow: 0 0 4px rgba(29, 162, 192, 0.3),
      0 0 10px rgba(29, 162, 192, 0.2);
  }
}
/* ============================================== */
/* PLATFORM SECTION - ESTILO FINAL COM CARDS      */
/* ============================================== */
.platform-section {
  padding: 120px 0;
  /* Fundo gradiente sutil e elegante para dar destaque à seção */
  background: linear-gradient(180deg, var(--background-page) 0%, #ecf2f8 100%);
}

.platform-grid {
  display: grid;
  /* Em telas grandes, teremos 3 colunas */
  grid-template-columns: repeat(3, 1fr);
  gap: 30px; /* Espaçamento entre os cards */
  margin-top: 60px;
}

.platform-card {
  background-color: var(--white);
  padding: 35px;
  border-radius: 16px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: all 0.3s ease;
}

.platform-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-main); /* Corrigido */
}

.platform-card i {
  font-size: 2.5rem;
  background: var(--premium-gradient); /* Corrigido */
  -webkit-background-clip: text;
  background-clip: text; /* Adicionado para Firefox */
  -webkit-text-fill-color: transparent;
  margin-bottom: 15px;
}

.platform-card h3 {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--dark-text);
  margin: 0;
}

.platform-card p {
  font-size: 0.95rem;
  color: var(--light-text);
  line-height: 1.7;
  margin: 0;
}

/* --- RESPONSIVIDADE PARA A PLATFORM SECTION --- */
@media (max-width: 992px) {
  .platform-grid {
    /* Em tablets, teremos 2 colunas */
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .platform-section {
    padding: 80px 20px;
  }
  .platform-grid {
    /* Em celulares, teremos 1 coluna */
    grid-template-columns: 1fr;
  }
}
.clients-section {
  padding: 40px;
  padding-bottom: 80px;
  background-color: var(--white); /* Fundo branco para se destacar */
}

.section-title-light {
  text-align: center;
  font-size: 1.5rem; /* Título mais sutil */
  font-weight: 500;
  color: var(--light-text);
  margin-bottom: 40px;
}

.clients-grid {
  display: flex;
  flex-wrap: wrap; /* Permite que as tags quebrem a linha em telas menores */
  justify-content: center; /* Centraliza as tags */
  gap: 20px; /* Espaçamento entre as tags */
}

.client-tag {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 24px;
  background-color: #eaf2f8; /* Fundo azul bem claro e suave */
  border-radius: 50px; /* Bordas totalmente arredondadas */
  border: 1px solid #d6e6f2;
  color: var(--primary-main);
  font-weight: 500;
  font-size: 1rem;
  transition: all 0.3s ease;
  cursor: default; /* Mostra que não é clicável, apenas informativo */
}

.client-tag:hover {
  transform: translateY(-5px);
  background-color: #d6e6f2; /* Cor de fundo um pouco mais forte no hover */
  box-shadow: var(--shadow-sm);
}

.client-tag i {
  font-size: 1.2rem;
}
/* ============================================== */
/* NOVA SEÇÃO DE VALOR COM IMAGEM DE ONDA ESTÁTICA*/
/* ============================================== */
.wave-section {
  position: relative;
  padding: 150px 0;
  background-color: var(--dark-navy); /* Fundo escuro para destacar o efeito */
  overflow: hidden; /* Mantido para garantir que a imagem não "corte" */
  cursor: pointer; /* Indica que a seção é interativa (para o texto) */
}

/* Camada da Imagem de Onda Estática */
.wave-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%; /* Agora cobrindo 100% da largura da seção */
  height: 100%;
  z-index: 1;
  background-image: url("imagens/animated-wave-bg.png"); /* Sua imagem de fundo */
  background-repeat: no-repeat; /* Importante: não repetir a imagem */
  background-size: cover; /* Faz a imagem cobrir todo o espaço, cortando se necessário */
  background-position: center bottom; /* Centraliza horizontalmente e alinha na parte inferior */
  opacity: 0.2; /* Deixa a onda mais sutil */
}

/* Conteúdo de texto */
.wave-content {
  position: relative;
  z-index: 2; /* Garante que o texto fique acima da imagem */
  text-align: center;
}

.wave-text-container {
  position: relative;
  min-height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.wave-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  max-width: 800px;
  color: var(--white);
  font-size: 2.2rem;
  font-weight: 600;
  line-height: 1.4;
  transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
}

.highlight-wave {
  color: var(--primary-light); /* Corrigido */
  font-weight: 700;
}

/* Lógica da troca de texto */
.wave-text.text-default {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}
.wave-text.text-hover {
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.95);
}

.wave-section:hover .text-default {
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.95);
}
.wave-section:hover .text-hover {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

/* Responsividade para a nova seção */
@media (max-width: 768px) {
  .wave-section {
    padding: 100px 20px;
  }
  .wave-text {
    font-size: 1.8rem;
  }
  .wave-section::before {
    background-size: cover;
    background-position: center bottom;
  }
}

/* Ajuste final para o botão de WhatsApp não brigar com o Voltar ao Topo em mobile */
@media (max-width: 768px) {
  .whatsapp-button {
    bottom: 20px;
    left: 20px;
    width: 55px;
    height: 55px;
  }
  .back-to-top-btn {
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
  }
  /* Em mobile, eles não se sobrepõem, então o 'bottom' pode ser o mesmo */
  .back-to-top-btn.show {
    bottom: 20px;
  }
}
/* ============================================== */
/* ÁREA DO MAPA (SUBSTITUI O FORMULÁRIO)          */
/* ============================================== */
.contact-map {
  width: 100%;
  height: 100%;
  min-height: 400px; /* Altura mínima garantida */
  border-radius: 12px;
  overflow: hidden; /* Garante que o mapa respeite as bordas arredondadas */
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  display: block;
}

/* Ajuste Responsivo para o Mapa */
@media (max-width: 992px) {
  .contact-map {
    min-height: 350px; /* Altura ajustada para tablets/celulares */
    margin-top: 20px;
  }
}

/* ============================================== */
/* NOVA SEÇÃO: SOBRE NÓS - ESTRUTURA DE COLUNAS (PERFEITO) */
/* ============================================== */
.about-us-section {
  padding: 120px 0;
  background-color: var(--background-page);
  position: relative;
  overflow: hidden;
}

.about-slider-container {
  position: relative;
  width: 100%;
  max-width: 950px;
  height: auto;
  min-height: 550px;
  margin: 0 auto;
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  background-color: var(--white);
  border: 1px solid var(--border-color);
}

.about-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  background-color: var(--white);
}

.about-slide.active {
  opacity: 1;
}

/* Divisão em 2 Colunas */
.slide-grid {
  display: grid;
  /* Coluna Imagem (1.2 partes) | Coluna Texto (1 parte) */
  grid-template-columns: 1.2fr 1fr;
  gap: 0px;
  height: 100%;
  width: 100%;
}

.slide-image-wrapper {
  position: relative;
  overflow: hidden;
  height: 100%;
  background-color: #f0f4f8;
  display: flex;
  justify-content: center;
  align-items: center;
}

.slide-image-wrapper img {
  height: 100%;
  width: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  transition: transform 0.8s ease-in-out;
}

.slide-content {
  padding: 40px;
  text-align: left;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* 1. H3 - NOME (MAIOR) */
.slide-content h3 {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary-main);
  margin-bottom: 5px;
  line-height: 1.2;
}

/* 2. H4 - CARGO (MENOR) */
.slide-content h4 {
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--primary-main);
  margin-bottom: 25px;
  line-height: 1.2;
}

.slide-content p {
  font-size: 1rem;
  color: var(--dark-text);
  line-height: 1.7;
}

/* ============================================== */
/* RESPONSIVIDADE ESPECÍFICA PARA SLIDER (Mobile) */
/* ============================================== */

@media (max-width: 992px) {
  /* CORREÇÃO CRÍTICA: O CONTAINER PRINCIPAL É FORÇADO A SER FLEXÍVEL */
  .about-slider-container {
    height: auto !important; /* Força altura a se adaptar */
    min-height: 550px;
    max-width: 100%;
    margin: 0;
  }

  /* CORREÇÃO CRÍTICA: O SLIDE ATIVO E INATIVO SÃO FORÇADOS A SER FLEXÍVEIS */
  .about-slide {
    position: relative;
    height: auto !important; /* Remove herança de altura fixa */
    margin-bottom: 20px;
    display: none;
    opacity: 0;
  }

  .about-slide.active {
    display: block;
    position: relative;
    height: auto !important;
    opacity: 1;
  }

  /* CORREÇÃO CRÍTICA: O GRID INTERNO TAMBÉM DEVE SER FLEXÍVEL */
  .slide-grid {
    grid-template-columns: 1fr;
    flex-direction: column;
    height: auto !important; /* Remove herança de altura fixa do grid */
  }

  .slide-image-wrapper {
    height: 300px;
    order: 1;
  }

  .slide-content {
    order: 2;

    /* PADDING E MAX-HEIGHT REFINADOS */
    padding: 40px 20px 5px; /* Top padding 40px (empurrar para baixo) */

    /* AUMENTADO MAX-HEIGHT PARA 400PX E O SCROLL É ATIVADO */
    max-height: 400px;
    overflow-y: auto;

    text-align: center;
    height: auto;

    /* Estilos da barra de rolagem (opcional) */
    scrollbar-width: thin;
    scrollbar-color: var(--primary-light) #f0f0f0;
  }

  /* AJUSTES DE HIERARQUIA DE FONTES PARA MOBILE */
  .slide-content h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 5px;
  }

  .slide-content h4 {
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 15px;
  }

  .slide-content p {
    font-size: 0.95rem;
    margin-bottom: 0;
  }
}
/* CORREÇÃO DO BUG DO BRANCO: Garante que slides inativos não interfiram */

/* O CONTAINER JÁ TEM position: relative no seu CSS */

.about-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Alteramos o display para garantir que ele não ocupe espaço quando inativo */
    display: none; 
    opacity: 0;
    transition: opacity 1s ease-in-out; 
    background-color: var(--white);
    /* Adicionamos pointer-events para garantir que o slide inativo não bloqueie cliques */
    pointer-events: none;
}

.about-slide.active {
    /* Quando ativo, ele ocupa o espaço e aparece */
    display: block;
    opacity: 1;
    pointer-events: auto; /* Permite cliques e interações */
}/* ============================================== */
/* CSS QUE FALTAVA PARA AS SETAS E BOLINHAS       */
/* ============================================== */

/* Estilo das Setas (Botões laterais) */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background-color: rgba(19, 103, 138, 0.2); /* Azul transparente */
    backdrop-filter: blur(5px);
    border: 1px solid rgba(19, 103, 138, 0.4);
    color: var(--primary-main);
    border-radius: 50%;
    cursor: pointer;
    z-index: 20; /* Fica em cima da imagem */
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.slider-arrow:hover {
    background-color: var(--primary-main);
    color: var(--white);
    transform: translateY(-50%) scale(1.1);
}

.prev-arrow {
    left: 5px !important; /* Fica bem na borda esquerda */
}

.next-arrow {
    right: 5px !important; /* Fica bem na borda direita */
}
.slide-content {
    padding: 40px 80px !important; 
    /* Explicação: 
       40px em cima/baixo 
       80px nas laterais (espaço para a seta não cobrir o texto) 
    */
}
@media (max-width: 992px) {
    .slide-content {
        padding: 40px 30px 20px 30px !important; /* Volta ao normal no celular */
    }
    
    /* Garante que no celular a seta fique na altura da imagem e não do texto */
    .slider-arrow {
        top: 200px !important; /* Ajuste conforme a altura da sua foto no mobile */
    }
}
/* Estilo das Bolinhas (Indicadores) */
.slider-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 20;
    display: flex;
    gap: 10px;
}

.indicator-dot {
    width: 12px;
    height: 12px;
    background-color: rgba(0, 0, 0, 0.2); /* Cinza claro */
    border: 2px solid var(--primary-main);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator-dot.active {
    background-color: var(--primary-main); /* Azul preenchido */
    transform: scale(1.2);
}

/* Ajuste Mobile */
@media (max-width: 992px) {
    .slider-arrow {
        width: 40px;
        height: 40px;
        top: 250px; /* Posiciona em cima da foto no celular */
    }
    .prev-arrow { left: 10px; }
    .next-arrow { right: 10px; }
}