/* ═══════════════════════════════════════════════════════════
   responsive.css — Lays Beatriz | Terapeuta TRG
   Media queries separadas para fácil manutenção
   ═══════════════════════════════════════════════════════════ */

/* ─── TABLET (≤ 1024px) ──────────────────────────────────── */
@media (max-width: 1024px) {
  #hero {
    grid-template-columns: 1fr 1fr;
  }

  #trg {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .trg-facts {
    grid-template-columns: 1fr 1fr;
  }

  #como-funciona {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  #sobre {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .sobre-photo {
    width: 100%;
    max-width: 360px;
    margin: 0 auto;
  }

  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .nav-links {
    display: none;
  }

  .hamburger {
    display: flex;
  }
}

/* ─── MOBILE (< 768px) ───────────────────────────────────── */
@media (max-width: 767px) {
  :root {
    --mocha: #6E5B3A;
  }

  nav {
    padding: 1rem 5%;
  }

  #hero {
    grid-template-columns: 1fr 1fr;
    min-height: 0;
    height: auto;
    padding-top: 64px;
  }

  .hero-content {
    padding: 18vh 0 16vh 5%;
    justify-content: flex-start;
  }

  .hero-label {
    font-size: 0.65rem;
    margin-bottom: 0.75rem;
  }

  .hero-label::before {
    width: 16px;
  }

  .hero-headline {
    font-size: clamp(1.4rem, 5.5vw, 2rem);
    margin-bottom: 0.75rem;
  }

  .hero-subtext {
    font-size: 0.82rem;
    margin-bottom: 1.25rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  .btn-whatsapp {
    font-size: 0.75rem;
    padding: 0.8rem 1rem;
    gap: 0.35rem;
    box-shadow: 0 4px 14px rgba(139, 115, 85, 0.35);
    white-space: nowrap;
  }

  .btn-secondary {
    font-size: 0.78rem;
  }

  .hero-photo-wrapper {
    height: 100%;
  }

  .hero-photo-overlay {
    background: linear-gradient(to right, var(--off-white) 0%, transparent 18%);
  }

  section {
    padding: 4rem 5%;
  }

  #trg {
    padding: 4rem 5%;
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .trg-facts {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }

  .trg-fact {
    padding: 1rem;
  }

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

  #como-funciona {
    grid-template-columns: 1fr;
    padding: 4rem 5%;
    gap: 2.5rem;
  }

  #sobre {
    grid-template-columns: 1fr;
    padding: 4rem 5%;
    gap: 2rem;
  }

  .sobre-photo {
    width: 100%;
    max-width: 280px;
    margin: 0 auto;
  }

  #cta {
    padding: 5rem 5%;
  }

  footer {
    flex-direction: column;
    text-align: center;
    padding: 2rem 5%;
    gap: 0.5rem;
  }

  .float-whatsapp {
    bottom: 1.25rem;
    right: 1.25rem;
    width: 46px;
    height: 46px;
  }
}

/* ─── TV / LARGE SCREENS (> 1600px) ─────────────────────── */
@media (min-width: 1600px) {
  nav {
    padding: 1.5rem 10%;
  }

  #hero {
    padding-top: 80px;
  }

  .hero-content {
    padding: 5% 5% 5% 10%;
  }

  section {
    padding: 8rem 12%;
  }

  #trg,
  #como-funciona,
  #sobre,
  #cta,
  footer {
    padding-left: 12%;
    padding-right: 12%;
  }

  .benefits-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
  }

  .hero-headline {
    font-size: 4.5rem;
  }

  .section-title {
    font-size: 3.2rem;
  }
}

/* ─── VERY SMALL SCREENS (< 400px) ──────────────────────── */
@media (max-width: 399px) {
  .hero-headline {
    font-size: 1.25rem;
  }

  .hero-subtext {
    -webkit-line-clamp: 2;
  }

  .btn-whatsapp {
    font-size: 0.7rem;
    padding: 0.7rem 0.75rem;
  }
}
