/* Mobile-specific fixes for "Soluções" section
   - decrease font sizes for service cards on small screens
   - hide the small right-aligned labels inside sub-toggle (e.g. "Única página", "4 páginas") on mobile
*/

@media (max-width: 767.98px) {
  /* Service header: smaller padding and tighter spacing */
  #servicos .service-header {
    padding: 12px 16px;
    gap: 10px;
  }

  /* Smaller icon box */
  #servicos .service-header .icon-hex {
    width: 40px;
    height: 40px;
    min-width: 40px;
    min-height: 40px;
  }

  /* Titles and descriptions reduced */
  #servicos .service-title {
    font-size: 1rem !important;
    line-height: 1.1 !important;
  }

  #servicos .service-desc {
    font-size: 0.85rem !important;
    margin-top: 2px;
    color: #cfd0d7;
  }

  /* Sub-toggle (the items inside each accordion) — tighten and scale down */
  #servicos .sub-accordion .sub-toggle {
    padding: 0.5rem 0.6rem;
    font-size: 0.92rem;
    gap: 0.6rem;
  }

  #servicos .sub-accordion .sub-toggle strong {
    font-size: 0.95rem;
    font-weight: 700;
  }

  #servicos .sub-accordion .sub-body {
    font-size: 0.85rem;
  }

  /* Hide the small right-side labels that show counts/descriptors on mobile */
  /* Targets: <span class="text-secondary ms-auto small">...</span> inside .sub-toggle */
  #servicos .sub-accordion .sub-toggle .small {
    display: none !important;
  }

  /* Reduce spacing of the service-body area */
  #servicos .service-body {
    padding: 8px 8px 12px;
  }
}
