/* ============================================================
   responsive.css
   Landing Page — Academia INpacto
   Desenvolvido por: valesmr
   ============================================================ */

/* ============================================================
   TABLET (max-width: 768px)
   ============================================================ */
@media (max-width: 768px) {

  /* ----- HEADER / NAV ----- */
  .nav-menu {
    position: fixed; top: 0; right: -100%;
    width: 75%; max-width: 350px; height: 100vh;
    background: var(--secondary-dark);
    flex-direction: column; justify-content: center; align-items: center;
    gap: 2.5rem; transition: right 0.3s ease; z-index: 999;
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.5);
  }
  .nav-menu.active { right: 0; }
  .nav-menu a { font-size: 1.2rem; }
  .hamburger { display: flex; z-index: 1000; }
  .hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
  .hamburger.active span:nth-child(2) { opacity: 0; }
  .hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

  /* ----- HERO ----- */
  .hero { padding: 7rem 1.5rem 3rem; }
  .hero-bg { background-attachment: scroll; }
  .hero-title { font-size: 2.4rem; }
  .hero-subtitle { font-size: 1.05rem; }
  .hero-stats { flex-direction: column; gap: 1.5rem; margin-top: 3rem; }
  .hero-stat .counter, .hero-stat .suffix { font-size: 1.8rem; }
  .wave-divider { height: 50px; }

  /* ----- SECÇÕES ----- */
  .section { padding: 4rem 0; }
  .section-title { font-size: 2rem; }
  .section-description { font-size: 1rem; margin-bottom: 2rem; }

  /* ----- SOBRE / EQUIPA ----- */
  .equipa-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .equipa-image { aspect-ratio: auto; min-height: 280px; }
  .equipa-image img { object-fit: contain; background: var(--secondary-dark); }
  .equipa-nome { font-size: 1.1rem; }
  .equipa-cargo { font-size: 0.75rem; }
  .equipa-descricao { font-size: 0.9rem; }

  /* ----- SERVIÇOS ----- */
  .servicos-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .servico-card-header { height: 130px; }
  .servico-card-header-overlay i { font-size: 2rem; }
  .servico-card-header-overlay h3 { font-size: 1.1rem; }
  .servico-card-body { padding: 0.75rem 1rem; }
  .servico-lista { gap: 0.2rem 0.75rem; }
  .servico-lista li { font-size: 0.75rem; gap: 0.4rem; }

  /* ----- FORMULÁRIO ----- */
  .form-wrapper { padding: 2rem 1.5rem; }
  .form-group input, .form-group select, .form-group textarea { padding: 0.9rem 1rem; }

  /* ----- REDES SOCIAIS ----- */
  .social-links { gap: 1rem; }
  .social-links a { width: 50px; height: 50px; font-size: 1.5rem; }

  /* ----- FOOTER ----- */
  .footer-links { gap: 1rem; }
}

/* ============================================================
   MOBILE (max-width: 480px)
   ============================================================ */
@media (max-width: 480px) {

  /* ----- HERO ----- */
  .hero-title { font-size: 1.8rem; }
  .hero-subtitle { font-size: 0.95rem; }
  .hero-stats { margin-top: 2rem; }
  .wave-divider { height: 35px; }

  /* ----- SECÇÕES ----- */
  .section { padding: 3rem 0; }
  .section-title { font-size: 1.6rem; }
  .section-description { font-size: 0.95rem; margin-bottom: 1.5rem; }

  /* ----- HEADER ----- */
  .logo-text { font-size: 1rem; }
  .logo-text strong { font-size: 1.15rem; }
  .logo-icon { font-size: 1.2rem; }

  /* ----- SOBRE ----- */
  .sobre-wrapper { gap: 1.5rem; }
  .sobre-image-inner img { min-height: 220px; }
  .sobre-image-badge { padding: 0.75rem 1rem; bottom: 1rem; left: 1rem; }
  .badge-year { font-size: 1.5rem; }
  .section-title-left { font-size: 1.4rem; }
  .sobre-descricao { font-size: 0.95rem; }

  /* ----- SERVIÇOS (1 coluna em mobile) ----- */
  .servicos-grid { grid-template-columns: 1fr; gap: 1rem; }
  .servico-card-header { height: 140px; }
  .servico-card-header-overlay i { font-size: 2rem; }
  .servico-card-header-overlay h3 { font-size: 1.1rem; }
  .servico-card-body { padding: 0.75rem 1rem; }
  .servico-lista { grid-template-columns: 1fr; gap: 0.2rem; }
  .servico-lista li { font-size: 0.8rem; gap: 0.5rem; }

  /* ----- DIFERENCIAIS ----- */
  .diferencial-card { padding: 1.2rem; }

  /* ----- FORMULÁRIO ----- */
  .form-wrapper { padding: 1.5rem 1rem; }
  .form-group { margin-bottom: 1.2rem; }
  .form-group label { font-size: 0.9rem; }
  .form-group input, .form-group select, .form-group textarea { padding: 0.8rem; font-size: 0.95rem; }
  .btn-submit { padding: 1rem; font-size: 1rem; }

  /* ----- WHATSAPP ----- */
  #whatsapp-float { width: 50px; height: 50px; font-size: 1.5rem; right: 1rem; bottom: 1rem; }

  /* ----- FOOTER ----- */
  .footer { padding: 2rem 0; }
  .footer-links { flex-direction: column; gap: 0.5rem; }
  .footer-links a { font-size: 0.8rem; }

  /* ----- BOTÕES ----- */
  .btn { padding: 0.8rem 1.5rem; font-size: 0.9rem; }
}

/* ============================================================
   MOBILE PEQUENO (max-width: 360px)
   ============================================================ */
@media (max-width: 360px) {
  .hero-title { font-size: 1.5rem; }
  .section-title { font-size: 1.3rem; }
  .container { padding: 0 1rem; }
}

/* ============================================================
   ECRÃS GRANDES (min-width: 1400px)
   ============================================================ */
@media (min-width: 1400px) {
  .container { max-width: 1320px; }
  .hero-title { font-size: 4rem; }
  .hero-subtitle { font-size: 1.35rem; }
}