/*
 * Galeria mobile consolidada da Cliven.
 * Mantém a imagem inteira visível e usa setas, swipe e indicadores para trocar telas.
 */
.showcase-image-scroll {
  width: 100%;
}

.mobile-carousel-arrow,
.mobile-carousel-counter,
.showcase-zoom-button,
.mobile-carousel-dots {
  display: none;
}

.showcase-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(2, 8, 20, 0.96);
}

.showcase-modal.is-open {
  display: flex;
}

.showcase-modal-content {
  width: min(100%, 1180px);
  max-height: 88vh;
  overflow: auto;
  border-radius: 18px;
  -webkit-overflow-scrolling: touch;
}

.showcase-modal-content img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 16px;
}

.showcase-modal-close {
  position: fixed;
  top: 0.8rem;
  right: 0.8rem;
  z-index: 2;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 50%;
  background: rgba(8,20,38,.95);
  color: #fff;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}

body.modal-open {
  overflow: hidden;
}

@media (max-width: 1024px) {
  .beauty-proof-grid {
    grid-template-columns: 1fr 1fr !important;
  }

  .showcase-main-card {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 768px) {
  html,
  body {
    max-width: 100%;
    overflow-x: hidden;
  }

  .container {
    width: calc(100% - 1.25rem) !important;
  }

  .section {
    padding: 3.4rem 0 !important;
  }

  .hero {
    padding: 1.7rem 0 2.2rem !important;
  }

  .hero-grid,
  .proof-grid,
  .beauty-proof-grid,
  .feature-grid,
  .segments-grid,
  .lead-grid,
  .footer-grid {
    grid-template-columns: 1fr !important;
  }

  .hero-grid {
    gap: 1.5rem !important;
  }

  .hero-copy h1 {
    font-size: clamp(2rem, 9vw, 2.8rem) !important;
    line-height: 1.08 !important;
  }

  .hero-actions {
    display: grid !important;
    grid-template-columns: 1fr !important;
  }

  .hero-actions .btn,
  .cta-box .btn,
  .showcase-main-copy .btn {
    width: 100% !important;
  }

  .hero-badges {
    display: grid !important;
    grid-template-columns: 1fr !important;
  }

  .hero-screen,
  .showcase-main-visual img,
  .showcase-thumb img {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    aspect-ratio: auto !important;
    object-fit: contain !important;
    object-position: top center !important;
  }

  .floating-note {
    position: static !important;
    display: inline-flex !important;
    margin-top: .7rem !important;
  }

  .showcase-main-card {
    display: block !important;
    padding: .7rem !important;
    border-radius: 22px !important;
    overflow: hidden;
  }

  .showcase-main-visual {
    position: relative;
    padding: .45rem .45rem 3.45rem !important;
    overflow: hidden;
    border-radius: 18px !important;
  }

  .showcase-image-scroll {
    overflow: hidden;
    border-radius: 14px;
    touch-action: pan-y;
  }

  .showcase-image-scroll #showcaseImage {
    display: block;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    border-radius: 14px !important;
  }

  .mobile-carousel-arrow {
    display: flex;
    position: absolute;
    top: 50%;
    transform: translateY(-70%);
    z-index: 5;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(255,255,255,.3);
    border-radius: 50%;
    background: rgba(5,16,34,.88);
    color: #fff;
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 8px 22px rgba(0,0,0,.32);
  }

  .mobile-carousel-prev {
    left: .65rem;
  }

  .mobile-carousel-next {
    right: .65rem;
  }

  .showcase-zoom-button {
    display: block;
    position: absolute;
    left: .75rem;
    bottom: .65rem;
    border: 1px solid rgba(25,185,255,.34);
    border-radius: 999px;
    padding: .55rem .8rem;
    background: rgba(25,185,255,.12);
    color: #dff6ff;
    font-weight: 700;
    font-size: .8rem;
    cursor: pointer;
  }

  .mobile-carousel-counter {
    display: block;
    position: absolute;
    right: .75rem;
    bottom: .78rem;
    color: #cfe8ff;
    font-size: .8rem;
    font-weight: 700;
  }

  .showcase-thumbs {
    display: none !important;
  }

  .mobile-carousel-dots {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: .45rem;
    margin-top: .9rem;
  }

  .mobile-carousel-dot {
    width: 9px;
    height: 9px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(255,255,255,.26);
    cursor: pointer;
  }

  .mobile-carousel-dot.active {
    width: 24px;
    border-radius: 999px;
    background: #19b9ff;
  }

  .showcase-main-copy {
    padding: 1rem .1rem .2rem !important;
  }

  .showcase-main-copy h3 {
    font-size: 1.65rem !important;
  }

  .showcase-main-copy p,
  .showcase-points li {
    font-size: .95rem !important;
    line-height: 1.65 !important;
  }

  .two-cols {
    grid-template-columns: 1fr !important;
  }

  .lead-card,
  .cta-box {
    padding: 1.1rem !important;
  }

  .form-group input,
  .form-group select,
  .form-group textarea {
    font-size: 16px !important;
  }

  .cta-box {
    align-items: stretch !important;
  }
}

@media (max-width: 480px) {
  .container {
    width: calc(100% - 1rem) !important;
  }

  .brand img {
    width: 44px !important;
    height: 44px !important;
  }

  .brand span {
    font-size: .78rem !important;
  }

  .hero-copy h1,
  .section-head h2 {
    font-size: clamp(1.85rem, 8.5vw, 2.35rem) !important;
  }

  .showcase-main-card {
    padding: .55rem !important;
  }

  .mobile-carousel-arrow {
    width: 38px;
    height: 38px;
    font-size: 1.7rem;
  }

  .showcase-zoom-button {
    font-size: .76rem;
  }

  .showcase-tags span {
    font-size: .76rem !important;
  }
}
