/* ==========================================================================
   INOVAAGRO — RESPONSIVE ADAPTATIONS
   ========================================================================== */

/* Telas Grandes (Desktop Widescreen / Monitores 1440px+) */
@media (min-width: 1440px) {
  .hero-title {
    font-size: 4.4rem;
  }
  .hero-content-wrap {
    padding-top: 100px;
    padding-bottom: 110px;
  }
}

/* Telas Médias / Laptops Pequenos (max-width: 1024px) */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .hero-telemetry-hud {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: center;
    margin-top: 10px;
  }

  .telemetry-card {
    padding: 10px 16px;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

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

  .footer-main-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }

  .footer-main-grid > .footer-col:last-child {
    grid-column: span 2;
  }
}

/* Tablets e Telas Menores (max-width: 768px) */
@media (max-width: 768px) {
  /* Menu Mobile */
  .mobile-menu-btn {
    display: block;
    z-index: 100;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background: rgba(5, 26, 16, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    padding: 40px 30px;
    transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
    z-index: 99;
  }

  .nav-menu.active {
    right: 0;
  }

  .nav-list {
    flex-direction: column;
    align-items: flex-start;
    gap: 22px;
    width: 100%;
  }

  .nav-link {
    font-size: 1.15rem;
    color: #FFFFFF;
  }

  .nav-mobile-cta {
    display: block !important;
    margin-top: 24px;
    width: 100%;
  }

  .nav-mobile-cta .btn {
    width: 100%;
  }

  .nav-cta.desktop-only {
    display: none;
  }

  /* Hamburger Animado */
  .mobile-menu-btn.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  .mobile-menu-btn.active .hamburger-line:nth-child(2) {
    opacity: 0;
  }
  .mobile-menu-btn.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  /* Hero */
  .hero-content-wrap {
    padding-top: 50px;
    padding-bottom: 60px;
  }

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

  .hero-btn-group {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-btn-group .btn {
    width: 100%;
  }

  /* Quem Somos */
  .about-story-header {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .about-arch-photo-wrap {
    width: 180px;
    height: 220px;
  }

  .about-features-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  /* Soluções */
  .solutions-grid {
    grid-template-columns: 1fr;
  }

  /* Impacto */
  .impact-mosaic-grid {
    grid-template-columns: 1fr;
  }

  .impact-card {
    height: 340px;
  }

  /* Rodapé */
  .footer-main-grid {
    grid-template-columns: 1fr;
  }

  .footer-main-grid > .footer-col:last-child {
    grid-column: span 1;
  }
}

/* Telas Muito Pequenas (max-width: 480px) */
@media (max-width: 480px) {
  .hero-title {
    font-size: 2.1rem;
  }
  
  .section-title {
    font-size: 1.8rem;
  }

  .tech-irrigation-footer {
    grid-template-columns: 1fr;
  }
  
  .modal-card {
    padding: 24px;
  }
}

