/* ============================================================
   ABChicomo Services — responsive.css
   ============================================================ */

/* --- Tablet (1024px) --- */
@media screen and (max-width: 1024px) {
  .hero-grid {
    gap: var(--space-7);
  }
  .service-intro-grid {
    gap: var(--space-7);
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-6);
  }
}

/* --- Mobile (768px) --- */
@media screen and (max-width: 768px) {
  /* Header já está no components.css */

  /* Hero */
  .hero {
    padding-top: calc(var(--header-height) + 20px);
    padding-bottom: var(--space-8);
  }
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: var(--space-6);
  }
  .hero-description {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-actions {
    justify-content: center;
  }
  .hero-stats {
    justify-content: center;
    flex-wrap: wrap;
  }
  .hero-image-wrapper {
    max-width: 400px;
    margin: 0 auto;
  }

  /* Showcase */
  .showcase-slide {
    grid-template-columns: 1fr;
    text-align: center;
    padding: var(--space-5) var(--space-4);
    gap: var(--space-4);
    min-height: auto;
  }
  .slide-features {
    justify-content: center;
  }
  .slide-cta {
    align-self: center;
  }
  .slide-image img {
    max-height: 180px;
  }
  .showcase-controls {
    padding: var(--space-3) var(--space-4) var(--space-4);
    flex-wrap: wrap;
  }

  /* Process */
  .process-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }

  /* Services */
  .services-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }

  /* Portfolio */
  .portfolio-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }

  /* Testimonials */
  .testimonials-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }

  /* About */
  .about-grid {
    text-align: center;
  }
  .about-actions {
    justify-content: center;
  }
  .about-stats {
    justify-content: center;
  }
  .founder-card {
    max-width: 360px;
    margin: 0 auto;
  }

  /* Advantages */
  .advantages-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }

  /* Contact */
  .contact-grid {
    grid-template-columns: 1fr;
    gap: var(--space-7);
  }
  .contact-info {
    text-align: center;
  }
  .contact-method {
    text-align: left;
  }
  .social-links {
    justify-content: center;
  }
  .contact-form-wrapper {
    padding: var(--space-5);
  }

  /* Hours */
  .hours-grid {
    grid-template-columns: 1fr 1fr;
    max-width: 400px;
    margin: 0 auto;
  }

  /* CTA */
  .cta-actions {
    flex-direction: column;
    align-items: center;
  }
  .cta-actions .btn {
    width: 100%;
    max-width: 320px;
    justify-content: center;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: var(--space-6);
    padding: var(--space-8) 0 var(--space-6);
  }
  .footer-description {
    margin-left: auto;
    margin-right: auto;
  }
  .footer-social {
    justify-content: center;
  }
  .footer-contact li {
    justify-content: center;
  }
  .footer-bottom {
    flex-direction: column;
    gap: var(--space-3);
    text-align: center;
  }
  .footer-legal {
    flex-direction: column;
    gap: var(--space-2);
  }

  /* Floating */
  .floating-btn {
    width: 44px;
    height: 44px;
    font-size: 1.1rem;
  }
  .floating-tooltip {
    display: none;
  }

  /* Modal */
  .modal-content {
    padding: var(--space-5) var(--space-4);
    margin: var(--space-4);
  }
  .modal-option {
    padding: var(--space-2) var(--space-3);
    font-size: 0.85rem;
  }

  /* Geral */
  .section {
    padding: var(--space-8) 0;
  }
  .section-header {
    margin-bottom: var(--space-7);
  }
  .section-subtitle {
    font-size: 1rem;
  }
  .page-hero {
    padding: calc(var(--header-height) + 40px) 0 var(--space-8);
  }
  .page-hero h1 {
    font-size: 1.8rem;
  }
  .page-hero p {
    font-size: 1rem;
  }
}

/* --- Pequeno Mobile (480px) --- */
@media screen and (max-width: 480px) {
  .container {
    padding: 0 var(--space-3);
  }

  .hero {
    padding-top: calc(var(--header-height) + 16px);
    padding-bottom: var(--space-6);
  }
  .hero h1 {
    font-size: 1.8rem;
  }
  .hero-description {
    font-size: 0.95rem;
  }
  .hero-stats .stat-number {
    font-size: 1.4rem;
  }
  .hero-stats .stat-label {
    font-size: 0.75rem;
  }

  .showcase-slide {
    padding: var(--space-4);
  }
  .slide-number {
    font-size: 2.5rem;
  }
  .slide-title {
    font-size: 1.3rem;
  }
  .slide-description {
    font-size: 0.9rem;
  }
  .slide-features li {
    font-size: 0.8rem;
  }

  .showcase-controls {
    gap: var(--space-3);
  }
  .showcase-prev,
  .showcase-next {
    width: 34px;
    height: 34px;
    font-size: 0.8rem;
  }
  .showcase-dots .dot {
    width: 8px;
    height: 8px;
  }
  .showcase-dots .dot.active {
    width: 20px;
  }

  .btn {
    padding: var(--space-2) var(--space-5);
    font-size: 0.85rem;
    min-height: 44px;
  }
  .btn-lg {
    padding: var(--space-3) var(--space-6);
    font-size: 0.9rem;
    min-height: 48px;
  }

  .footer-grid {
    padding: var(--space-6) 0 var(--space-4);
    gap: var(--space-5);
  }
  .footer-col h3 {
    font-size: 0.9rem;
  }
  .footer-col ul a,
  .footer-contact li {
    font-size: 0.8rem;
  }

  .floating-buttons {
    bottom: var(--space-4);
    right: var(--space-4);
    gap: var(--space-2);
  }
  .floating-btn {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }

  .toast {
    bottom: 80px;
    right: var(--space-4);
    left: var(--space-4);
    font-size: 0.85rem;
    padding: var(--space-2) var(--space-4);
    text-align: center;
  }

  .hours-grid {
    grid-template-columns: 1fr;
    max-width: 280px;
  }
  .contact-map iframe {
    height: 160px;
  }
  .contact-form-wrapper {
    padding: var(--space-4);
  }
}

/* --- Desktop Grande (1400px+) --- */
@media screen and (min-width: 1400px) {
  .container {
    max-width: 1280px;
  }
  .hero-image-wrapper {
    max-width: 640px;
  }
}

/* --- 4K --- */
@media screen and (min-width: 2000px) {
  .container {
    max-width: 1600px;
  }
  body {
    font-size: 1.05rem;
  }
  .hero-image-wrapper {
    max-width: 720px;
  }
}
