/* Melhorando container no mobile */
@media (max-width: 768px) {
    body {
        overflow-x: hidden;
}    

  header {
    padding: 15px 0;
    height: auto;
}

.header-content {
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.logo {
    position: static;
    transform: none;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo-img {
  max-height: 120px;
  height: auto;
  width: auto;
  object-fit: contain;
}

nav {
    display: block;
    width: 100%;
}

nav ul {
    flex-direction: column;
    padding: 0;
    margin: 0;
}

nav ul li {
    margin: 10px 0;
}

.redesSociaisHeader {
    display: none; /* opcional: esconda no mobile, se necessário */
}

  .hero {
      flex-direction: column;
      text-align: center;
      padding: 130px 20px 60px;
  }

  .hero-text h1 {
      font-size: 28px;
  }

  .hero-text p {
      font-size: 16px;
  }

  .hero-image {
      text-align: center;
      margin-top: 30px;
  }

  .services {
    padding: 150px 10 0px;
    background: linear-gradient(to bottom, #000000, #121212);
    height: 150vh;
}

  .benefits-container,
  .services-container {
      flex-direction: column;
      align-items: center;
  }

  .benefit-item,
  .service-card {
      width: 100%;
      max-width: 90%;
  }

  .portfolio-desktop {
    height: 100vh;
    width: 100vw;
    text-align: center;
    padding: 50px;
    display: none;
}

  #portfolio {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 30px;
    background-color: #0d0d0d;
    padding: 50px;
}

  .portfolioCard {
      width: 100%;
      max-width: 90%;
      padding: 20px;
  }

  .imgPortfolio {
      width: 100%;
      height: auto;
  }

  .footer-container {
      flex-direction: column;
      gap: 20px;
  }

  .footer-links ul {
      flex-direction: column;
      gap: 10px;
  }

  .whatsapp-flutuante{
    position: fixed;
    bottom: 30px;
    right: 20px;
    width: 50px; /* Tamanho da caixa */
    height: 50px;
    background-color: #25D366; /* Fundo da bolinha (opcional) */
    border: 3px solid #25D366; /* Verde do WhatsApp */
    border-radius: 50%; /* Deixa redondo */
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease; /* Animação suave */
    z-index: 999; /* Garante que fique por cima */
}

.whatsapp-popup {
    position: fixed;
    bottom: 30px;
    right: 80px; /* ajustado para aparecer ao lado esquerdo do botão */
    background-color: #fff;
    border: 2px solid #25D366;
    border-radius: 10px;
    padding: 10px 10px;
    font-size: 14px;
    color: #000;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    max-width: 300px;
    z-index: 9999;
    display: block; /* mostra sempre que carrega */
    animation: fadeIn 0.4s ease;
  }
}

/* Mobile bem pequeno (ex: iPhone SE, Galaxy A01) */
@media (max-width: 480px) {
  header {
      height: 70px;
      padding: 0 10px;
  }

  .header-content {
      flex-direction: column;
      align-items: flex-start;
      gap: 10px;
  }

  .logo-img {
      max-height: 60px;
  }

  .hero-text h1 {
      font-size: 24px;
  }

  .section-title {
      font-size: 24px;
  }

  .testimonial .quote,
  .testimonial .author {
      font-size: 16px;
  }

  .whatsapp-text-box {
      font-size: 12px;
      padding: 8px 25px 8px 12px;
  }
}