/* ---- Botão flutuante WhatsApp (mobile only) ---- */
.whatsapp-float {
  display: none;
}

@media screen and (max-width: 700px) {
  .whatsapp-float {
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    bottom: 22px;
    right: 20px;
    z-index: 9998;
    background: #25d366;
    border-radius: 50px;
    padding: 14px;
    box-shadow: 0 4px 18px rgba(37, 211, 102, 0.45);
    text-decoration: none;
    animation: wppPulse 2.4s ease-in-out infinite;
  }

  .whatsapp-float svg {
    width: 26px;
    height: 26px;
    flex-shrink: 0;
    fill: #fff;
  }

  .whatsapp-float span {
    color: #fff;
    font-family: 'Poppins', sans-serif;
    font-size: 0.88rem;
    font-weight: 700;
    white-space: nowrap;
  }

  @keyframes wppPulse {
    0%, 100% { box-shadow: 0 4px 18px rgba(37, 211, 102, 0.45); }
    50%       { box-shadow: 0 4px 28px rgba(37, 211, 102, 0.75); }
  }
}

/* ------------------------------ Responsivo Celular ------------------------------ */
@media screen and (max-width: 700px) {
  .navbar {
    padding: 0px 27px;
    height: 70px;
  }

  .navbar .logo img {
    width: 110px;
    height: auto;
  }

  .logo-txt {
    font-size: 6.7px;
  }

  h1 {
    padding: 0;
    font-size: 2.6rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  .subtitle {
    padding: 0;
    font-size: 1rem;
  }

  .gancho {
    padding: 0;
    font-size: 0.7rem;
  }

  .badge {
    font-size: 0.6rem;
  }

  .btn {
    font-size: 1.1rem;
    padding: 18px 25px;
  }

  .btn-cta {
    margin-top: 40px;
  }

  .btn-nav {
    padding: 7px 15px;
    font-size: 0.9rem;
  }

  .btn-form {
    padding: 14px 25px;
    font-size: 1rem;
  }

  .form-section {
    padding: 0 16px;
  }

  .form-box {
    padding: 28px 20px;
  }

  .form-row {
    grid-template-columns: 1.6fr 1fr;
    gap: 10px;
  }

  body .svg .card {
    text-align: center;
  }

  .card-extra h2 {
    font-size: 1.5rem;
  }

  .card:hover {
    transform: none;
    box-shadow: none;
  }

  body .main-projects .grid {
    padding: 0 10px;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
  }

  body .svg .grid {
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 14px;
    margin-top: 20px;
    padding: 0;
  }

  .card img {
    width: 100%;
    height: 240px;
    object-fit: cover;
  }

  footer {
    font-size: 0.8rem;
  }

  /* === Menu mobile (hambúrguer) === */
  .hamburger {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    height: 100vh;
    width: 70%;
    max-width: 300px;
    background-color: #111;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 0;
    padding: 90px 30px;
    transition: right 0.35s ease;
    z-index: 20;
  }

  .nav-links.active {
    right: 0;
    box-shadow: -4px 0 16px rgba(0, 0, 0, 0.3);
  }

  .nav-links li {
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .nav-links li a {
    display: block;
    width: 100%;
    padding: 16px 0;
  }
}

/* ------------------------------ Responsivo PC (Telas Menores)------------------------------ */
@media screen and (min-width: 701px) and (max-width: 1500px) {
  .navbar {
    padding: 0px 20px;
    height: 70px;
  }

  .navbar .logo img {
    width: 120px;
    height: auto;
  }

  .logo-txt {
    font-size: 7.5px;
  }

  h1 {
    font-size: 3rem;
  }

  h2 {
    font-size: 2rem;
  }

  .subtitle {
    font-size: 1.5rem;
  }

  .gancho {
    padding: 0 120px;
    font-size: 1rem;
  }

  .badge {
    font-size: 0.7rem;
  }

  .btn {
    font-size: 1.1rem;
    padding: 18px 25px;
  }

  .btn-form {
    padding: 14px 25px;
    font-size: 1rem;
  }

  .card-extra h2 {
    font-size: 1.5rem;
  }

  .grid {
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 25px;
    margin-top: 40px;
    padding: 0 18%;
  }

  .card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
  }
}