/* Correção mobile do carrossel da home — não altera desktop. */
@media (max-width: 600px) {
  .hero-carousel { min-height: 0; }
  .hero-carousel .hero-slides { min-height: 0; }
  .hero-carousel .hero-slide { min-height: 760px; align-items: flex-start; }
  .hero-carousel .hero-grid {
    width: 100%;
    padding-top: 128px;
    padding-bottom: 106px;
  }
  .hero-carousel .hero-slide-title {
    font-size: clamp(2.15rem, 10vw, 2.8rem);
    line-height: 1.02;
  }
  .hero-carousel .hero-lead {
    margin-top: 20px;
    font-size: 1rem;
    line-height: 1.6;
  }
  .hero-carousel .hero-actions {
    margin-top: 24px;
    gap: 18px;
    flex-direction: column;
    align-items: stretch;
  }
  .hero-carousel .hero-actions .button { width: 100%; }
  .hero-carousel .hero-actions .text-link { justify-content: center; min-height: 44px; }
  .hero-carousel .hero-proof { margin-top: 24px; padding-top: 16px; }

  .hero-carousel .hero-carousel-controls {
    left: 24px;
    right: 24px;
    bottom: 14px;
    width: auto;
    max-width: none;
    min-width: 0;
    transform: none;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: 8px 12px;
  }
  .hero-carousel .hero-selectors {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    width: 100%;
    max-width: none;
    gap: 6px;
    padding: 0;
    overflow: visible;
  }
  .hero-carousel .hero-selectors button {
    min-width: 0;
    min-height: 38px;
    padding: 9px 2px 5px;
    justify-content: center;
    font-size: .69rem;
    line-height: 1;
    border-top-width: 2px;
  }
  .hero-carousel .hero-selectors button span { display: none; }
  .hero-carousel .hero-pause {
    min-height: 38px;
    margin: 0;
    padding: 7px 10px;
    white-space: nowrap;
    font-size: .68rem;
  }

  #hero-alocacao .allocation-banner-brand {
    margin-bottom: 14px;
    font-size: .76rem;
    letter-spacing: .22em;
  }
  #hero-alocacao .eyebrow { margin-bottom: 14px; font-size: .68rem; }
  #hero-alocacao .hero-slide-title {
    font-size: clamp(2.15rem, 10vw, 2.7rem);
    line-height: 1.04;
  }
  #hero-alocacao .allocation-banner-features {
    margin: 20px 0 22px;
    gap: 0;
  }
  #hero-alocacao .allocation-banner-features > div { padding: 0 9px; gap: 8px; }
  #hero-alocacao .allocation-banner-features > div:first-child { padding-left: 0; }
  #hero-alocacao .allocation-banner-features svg { width: 28px; height: 28px; }
  #hero-alocacao .allocation-banner-features span {
    font-size: .73rem;
    line-height: 1.35;
    overflow-wrap: normal;
  }
  #hero-alocacao .allocation-approved-actions { margin-top: 0; }
  #hero-alocacao .allocation-approved-actions .button {
    width: 100%;
    min-height: 52px;
    padding: 13px 20px;
  }
}

@media (max-width: 370px) {
  .hero-carousel .hero-carousel-controls { left: 18px; right: 18px; }
  .hero-carousel .hero-pause { padding-inline: 7px; font-size: .62rem; }
  #hero-alocacao .allocation-banner-features span { font-size: .67rem; }
}
