/**
 * Sorrile Ortodontia - Folha de Estilos Responsiva
 */

@media (max-width: 1199.98px) {
  .hero-title {
    font-size: 2.9rem;
  }

  .about-title {
    font-size: 2.4rem;
  }

  .treatments-title {
    font-size: 2.4rem;
  }

  .footer-cta-title {
    font-size: 2rem;
  }
}

@media (max-width: 991.98px) {
  .site-header {
    border-bottom: 1px solid #eef2f5;
  }

  .navbar-collapse {
    background: #ffffff;
    padding: 1.25rem 0.5rem;
    border-radius: 12px;
  }

  .navbar .nav-link {
    padding: 0.75rem 0.5rem !important;
  }

  .navbar .nav-link.active::after {
    left: 0.5rem;
    right: auto;
    width: 40px;
  }

  /* No tablet e mobile o degradê cobre mais o fundo para manter contraste ideal com o texto */
  .hero-section {
    min-height: auto;
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
    background-image:
      linear-gradient(to bottom, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0.8) 100%), url('../imgs/banners/hero-sorrile.webp');
    background-position: center;
  }

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

  .about-section {
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
  }

  .about-title {
    font-size: 2.1rem;
  }

  .treatments-section {
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
  }

  .treatments-title {
    font-size: 2.1rem;
  }

  .testimonials-title,
  .instagram-title {
    font-size: 2.1rem;
  }

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

  .instagram-next-btn {
    display: none;
  }

  .hero-description {
    font-size: 1.05rem;
  }

  .footer-cta-card {
    padding: 2.5rem 2rem;
    background-image:
      linear-gradient(135deg, #548a98 0%, rgba(84, 138, 152, 0.94) 60%, rgba(84, 138, 152, 0.8) 100%),
      url('../imgs/banners/consultorio1.jpeg');
    background-size: cover;
  }

  .footer-divider-vr {
    display: none;
  }

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

  .instagram-next-btn {
    right: -10px;
  }
}

@media (max-width: 575.98px) {
  .hero-section {
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
    background-position: center;
    /* background-image:
      linear-gradient(to bottom, rgba(255, 255, 255, 0.5) 0%, rgba(255, 255, 255, 0.5) 100%), url('../imgs/banners/hero-sorrile.webp'); */
  }

  .hero-title {
    font-size: 3rem;
    line-height: 1.2;
  }

  .hero-description {
    font-size: 0.98rem;
  }

  .hero-cta-group {
    flex-direction: column;
    width: 100%;
  }

  .hero-cta-group .btn {
    width: 100%;
    justify-content: center;
  }

  .hero-badges-row {
    flex-direction: column;
    align-items: flex-start !important;
    gap: 0.75rem !important;
  }

  .footer-cta-card {
    padding: 2rem 1.5rem;
    border-radius: 18px;
  }

  .footer-cta-title {
    font-size: 1.7rem;
  }

  .footer-cta-card .btn {
    width: 100%;
    justify-content: center;
  }

  .footer-bottom {
    text-align: center;
  }

  /* Páginas Internas */
  .internal-page-header {
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
  }

  .internal-page-title {
    font-size: 2.2rem;
  }

  .article-content h2 {
    font-size: 1.7rem;
  }

  .appliance-cards-grid {
    grid-template-columns: 1fr;
  }

  .treatment-steps-timeline {
    padding-left: 1.5rem;
  }

  .treatment-step-number {
    left: -1.5rem;
    width: 30px;
    height: 30px;
    font-size: 0.85rem;
  }

  .treatment-sidebar {
    margin-top: 3rem;
  }

  /* Sobre Nós e Galeria */
  .doctor-profile-card {
    padding: 1.75rem 1.25rem;
  }

  .doctor-name {
    font-size: 1.8rem;
  }

  .gallery-grid-1x1 {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }
}