/* ============================================
   VITALMEDIC — Responsive Breakpoints
   ============================================ */

/* ---------- 1440px / 1280px are handled by max-width: 1200px container ---------- */

/* ---------- 1024px ---------- */
@media (max-width: 1024px) {
  :root {
    --section-padding: 5rem 0;
  }

  .hero-grid {
    gap: 2rem;
    min-height: 500px;
  }

  .hero::after {
    right: 35%;
    width: 25%;
  }

  .hero::before {
    width: 40%;
  }

  .about-grid, .events-grid, .services-layout {
    gap: 3rem;
  }

  .differentials-layout {
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
  }

  .process-step::before {
    display: none; /* Hide line on smaller screens */
  }
}

/* ---------- 768px (Tablet Portrait / Mobile) ---------- */
@media (max-width: 768px) {
  :root {
    --header-height: 70px;
    --section-padding: 4rem 0;
  }

  /* Header */
  .nav-menu {
    display: none;
    position: absolute;
    top: var(--header-height);
    left: 0;
    right: 0;
    background-color: var(--white);
    flex-direction: column;
    padding: 2rem;
    box-shadow: var(--shadow-md);
    gap: 1.5rem;
  }

  .nav-menu.open {
    display: flex;
  }

  .header-cta {
    display: none; /* Ocultar CTA no mobile header para manter limpo, ou mostrar ícone */
  }

  .mobile-toggle {
    display: block;
    width: 40px;
    height: 40px;
  }

  /* Hero */
  .hero {
    padding-top: calc(var(--header-height) + 2rem);
  }

  .hero::before, .hero::after {
    display: none; /* Remover formas complexas no mobile */
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .hero-content {
    padding: 0;
  }

  .hero-image-wrapper {
    padding: 0;
    min-height: auto;
  }

  .hero-actions {
    flex-direction: column;
  }

  /* Trust Strip */
  .trust-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  /* About & Events */
  .about-grid, .events-grid {
    grid-template-columns: 1fr;
  }

  .about-image {
    order: -1;
  }

  /* Services */
  .services-layout {
    grid-template-columns: 1fr;
  }

  /* Process */
  .process-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .process-number {
    margin-bottom: 1rem;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

/* ---------- 480px / 390px (Mobile Small) ---------- */
@media (max-width: 480px) {
  :root {
    --section-padding: 3rem 0;
  }

  .hero-title {
    font-size: 2.25rem;
  }

  .trust-grid, .differentials-layout, .footer-grid {
    grid-template-columns: 1fr;
  }

  .service-main-content {
    padding: 1.5rem;
  }
}
