/* ==========================================================================
   Naty Carvalho Podóloga - Responsive Stylesheet
   Breakpoints: 1440px, 1024px, 768px, 576px, 375px
   ========================================================================== */

/* Large Desktops (1440px and above) */
@media (min-width: 1440px) {
  .container {
    max-width: 1240px;
  }

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

  .hero-visual-wrapper {
    height: 680px;
  }

  .about-collage {
    height: 600px;
  }
}

/* Tablets and Laptops (under 1200px) */
@media (max-width: 1199.98px) {
  .hero-title {
    font-size: clamp(3rem, 5.5vw, 5.2rem);
  }

  .nav-link-custom {
    padding: 0.5rem 0.5rem;
    font-size: 0.68rem;
  }

  .about-collage {
    height: 500px;
  }
}

/* Medium Tablets & Below (under 992px) */
@media (max-width: 991.98px) {
  .site-header {
    padding: 0.4rem 0;
  }

  .hero-section {
    min-height: auto;
    padding-top: 110px;
    padding-bottom: 70px;
  }

  .hero-visual-wrapper {
    height: 480px;
    margin-top: 2rem;
  }

  .hero-stamp-badge {
    bottom: 4%;
    left: 2%;
    width: 96px;
    height: 96px;
    font-size: 0.6rem;
  }

  .hero-stamp-badge span {
    font-size: 0.8rem;
  }

  .about-collage {
    height: 440px;
    margin-bottom: 2.5rem;
  }

  .portrait-frame {
    inset: 0;
  }

  .about-floating-card {
    right: 15px;
    bottom: -15px;
  }

  .about-section,
  .services-section,
  .gallery-section,
  .faq-section {
    padding: 5rem 0;
  }

  .work-section {
    min-height: 480px;
  }

  .work-content {
    padding: 4rem 0;
  }

  .contact-section {
    padding: 4.5rem 0;
  }
}

/* Small Tablets and Large Phones (under 768px) */
@media (max-width: 767.98px) {
  .hero-title {
    font-size: clamp(2.7rem, 9vw, 4.2rem);
  }

  .hero-subtitle {
    font-size: 0.95rem;
  }

  .section-title {
    font-size: clamp(2.2rem, 7vw, 3.4rem);
  }

  .hero-visual-wrapper {
    height: 420px;
  }

  .trust-bar {
    padding: 1.5rem 0;
  }

  .trust-item {
    margin-bottom: 0.75rem;
  }

  .about-collage {
    height: 380px;
  }

  .gallery-card {
    height: 380px;
  }

  .lightbox-modal-media {
    height: 280px;
  }

  .floating-whatsapp {
    padding: 0.75rem 1.1rem;
    font-size: 0.7rem;
    bottom: 20px;
    right: 20px;
  }

  .btn-back-to-top {
    bottom: 20px;
    left: 20px;
    width: 40px;
    height: 40px;
  }

  .footer {
    padding: 3.5rem 0 1.5rem;
  }

  .footer-bottom {
    margin-top: 2.5rem;
    padding-top: 1.5rem;
  }
}

/* Mobile Devices (under 576px) */
@media (max-width: 575.98px) {
  .hero-title {
    font-size: clamp(2.4rem, 11vw, 3.6rem);
  }

  .hero-actions {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.85rem;
  }

  .hero-actions .btn-gold,
  .hero-actions .btn-outline-gold {
    width: 100%;
    text-align: center;
  }

  .hero-visual-wrapper {
    height: 360px;
  }

  .about-floating-card {
    position: relative;
    right: auto;
    bottom: auto;
    margin-top: 1rem;
    display: inline-flex;
  }

  .about-collage {
    height: 320px;
    margin-bottom: 4rem;
  }

  .service-card {
    padding: 1.75rem;
    min-height: auto;
  }

  .reels-section {
    padding: 4.5rem 0;
  }

  .reels-header-wrapper {
    margin-bottom: 2rem;
  }

  .reel-title {
    font-size: 1rem;
  }

  .cinematic-story-section {
    padding: 5rem 0;
  }

  .gallery-card {
    height: 340px;
  }

  .lightbox-modal-body {
    padding: 1.5rem;
  }

  .floating-whatsapp span {
    display: none;
  }

  .floating-whatsapp {
    padding: 0.85rem;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    justify-content: center;
  }

  .scroll-cue {
    display: none;
  }
}

/* Small Screens (375px and under) */
@media (max-width: 375px) {
  html {
    font-size: 15px;
  }

  .hero-title {
    font-size: 2.15rem;
    letter-spacing: -0.04em;
  }

  .hero-visual-wrapper {
    height: 320px;
  }

  .hero-social-proof-badge {
    top: 8px;
    left: 8px;
    padding: 0.5rem 0.85rem;
    gap: 0.6rem;
  }

  .hero-social-proof-badge .fb-icon-wrap {
    width: 32px;
    height: 32px;
    font-size: 1.1rem;
  }

  .hero-social-proof-badge .badge-text strong {
    font-size: 0.82rem;
  }

  .hero-social-proof-badge .badge-text span {
    font-size: 0.62rem;
  }

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

  .reels-section {
    padding: 3.5rem 0;
  }

  .service-card {
    padding: 1.35rem;
  }

  .gallery-card {
    height: 300px;
  }
}

/* Modals Responsive Handling */
@media (max-width: 991.98px) {
  .clinical-stage-wrapper {
    min-height: 320px;
    max-height: 440px;
    padding: 1rem;
  }
  .clinical-stage-img {
    max-height: 400px;
  }
  .clinical-case-body {
    padding: 1.5rem !important;
  }
}

@media (max-width: 576px) {
  .reel-modal-dialog {
    margin: 0.25rem auto;
    max-width: calc(100% - 0.5rem);
  }
  .reel-player-stage {
    width: 100%;
    aspect-ratio: 9 / 16;
    height: clamp(500px, 76vh, 660px);
  }
  .clinical-modal-close {
    top: 10px;
    right: 10px;
    padding: 6px;
  }
}

/* Reduced Motion for Accessibility */
@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;
  }

  .floating-whatsapp {
    animation: none !important;
  }
}
