/* ========================================
   RESPONSIVE — Mobile-First Breakpoints
   ======================================== */

/* Mobile hero overlay — more opaque for readability */
@media (max-width: 767px) {
  .hero::before {
    background: rgba(30, 42, 74, 0.88);
  }
}

/* Tablet (768px+) */
@media (min-width: 768px) {
  h1 { font-size: var(--text-4xl); }
  h2 { font-size: var(--text-3xl); }

  .hero__title {
    font-size: var(--text-4xl);
  }

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

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

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


  .contact-bar__grid {
    grid-template-columns: repeat(3, 1fr);
  }

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

  .footer__bottom {
    flex-direction: row;
    justify-content: space-between;
  }

  .page-hero__title {
    font-size: var(--text-4xl);
  }

  .page-grid {
    grid-template-columns: 1fr;
  }

  .location__map {
    aspect-ratio: 16 / 9;
  }
}

/* Desktop (1024px+) */
@media (min-width: 1024px) {
  h1 { font-size: var(--text-5xl); }

  .hero__title {
    font-size: var(--text-5xl);
  }

  .hero__text {
    font-size: var(--text-lg);
  }

  /* Nav visível */
  .nav {
    display: flex;
  }

  .nav-toggle {
    display: none;
  }

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

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

  .footer__grid {
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
  }

  .page-grid {
    grid-template-columns: 1fr 320px;
  }

  .location__map {
    aspect-ratio: 16 / 7;
  }
}

/* Wide (1280px+) */
@media (min-width: 1280px) {
  :root {
    --container-padding: var(--space-8);
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
}
