/* Home publica | camada responsive | componente journey. */



@media (max-width: 1199.98px) {
.pt-home-profile-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

.pt-home-profile-card {
    min-height: 420px;
  }
}



@media (max-width: 1099.98px) {
.pt-home-section-heading.pt-home-profiles-heading {
    gap: 0.85rem;
    grid-template-columns: 1fr;
  }

.pt-home-profiles-heading h2 {
    max-width: none;
  }

.pt-home-profiles-heading > p {
    max-width: 58ch;
    justify-self: start;
  }

.pt-home-journey-intro {
    max-width: 820px;
    gap: 0.85rem;
    grid-template-columns: 1fr;
  }

.pt-home-journey-intro > .pt-eyebrow,
  .pt-home-journey-intro h2,
  .pt-home-journey-intro p,
  .pt-home-journey-intro > .btn {
    grid-column: 1;
    grid-row: auto;
  }

.pt-home-journey-intro p {
    max-width: 680px;
  }

.pt-home-journey-intro > .btn {
    margin-top: 0.35rem;
  }

.pt-home-journey-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}



@media (max-width: 767.98px) {
.pt-home-profile-grid {
    display: flex;
    gap: 0.85rem;
    margin-right: calc(var(--bs-gutter-x) * -0.5);
    padding-right: calc(var(--bs-gutter-x) * 0.5);
    padding-bottom: 1rem;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-padding-left: 0;
    scroll-snap-type: inline mandatory;
    touch-action: auto;
    scrollbar-width: thin;
    scrollbar-color: color-mix(in srgb, var(--pt-primary), transparent 45%)
      transparent;
  }

.pt-home-profile-card {
    min-height: 438px;
    flex: 0 0 min(86vw, 360px);
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }

.pt-home-journey-grid {
    grid-template-columns: 1fr;
  }

.pt-home-journey-grid li {
    min-height: 195px;
  }
}



@media (max-width: 575.98px) {
.pt-home-profile-content {
    padding: 1.2rem;
  }

.pt-home-profile-content h3 {
    font-size: 1.22rem;
  }

.pt-home-journey-intro h2 {
    font-size: clamp(2.1rem, 9vw, 2.55rem);
  }

.pt-home-journey-grid li {
    min-height: 180px;
    padding: 1.1rem;
  }

.pt-home-journey-icon {
    width: 48px;
    height: 48px;
  }

.pt-home-journey-icon svg {
    width: 30px;
    height: 30px;
  }
}



@media (max-width: 339.98px) {
.pt-home-profile-card {
    min-height: 430px;
    flex-basis: calc(100vw - 2.75rem);
  }

.pt-home-profile-content {
    padding: 1rem;
  }

.pt-home-profile-content h3 {
    font-size: 1.16rem;
  }

.pt-home-profile-content > p {
    font-size: 0.8rem;
  }

.pt-home-profile-content ul {
    font-size: 0.75rem;
  }
}



/* Experiência mobile com conteúdo e gestos priorizados. */
@media (max-width: 767.98px) {
.pt-home-journey > .container > .pt-home-slider-controls {
    margin-top: calc(0.75rem - 0.9rem);
  }

.pt-home-profile-card {
    min-height: 400px;
    flex: 0 0 min(86vw, 350px);
  }

.pt-home-profile-content {
    padding: 1.05rem;
  }

.pt-home-profile-content > small {
    margin-bottom: 0.55rem;
  }

.pt-home-profile-content h3 {
    min-block-size: 0;
    margin-bottom: 0.55rem;
    font-size: 1.16rem;
  }

.pt-home-profile-content > p {
    margin-bottom: 0.75rem;
    font-size: 0.79rem;
    line-height: 1.5;
  }

.pt-home-profile-content ul {
    gap: 0.42rem;
    margin-bottom: 0.85rem;
    font-size: 0.73rem;
  }

.pt-home-profile-content > a {
    min-height: 45px;
  }

.pt-home-journey > .container {
    gap: 0.9rem;
  }

.pt-home-journey-intro {
    gap: 0.65rem;
  }

.pt-home-journey-intro > .btn {
    margin-top: 0.1rem;
  }

.pt-home-journey-grid {
    margin-left: 0;
  }

.pt-home-journey-grid li {
    min-height: 174px;
    padding: 1.05rem;
    flex: 0 0 min(84vw, 330px);
  }

.pt-home-journey-grid small {
    top: 1.25rem;
    right: 1.2rem;
  }

.pt-home-journey-grid h3 {
    margin: 0.9rem 0 0.4rem;
  }

.pt-home-journey-grid p {
    font-size: 0.72rem;
    line-height: 1.55;
  }
}



/* Alinhamento mobile: textos centralizados e trilhos equilibrados visualmente. */
@media (max-width: 767.98px) {
.pt-home-heading-action a,
  .pt-home-journey-intro > .btn {
    justify-self: center;
  }

.pt-home-profile-grid {
    --pt-mobile-card-width: min(86vw, 350px);
  }

.pt-home-journey-grid {
    --pt-mobile-card-width: min(84vw, 330px);
  }

.pt-home-profile-card {
    flex: 0 0 var(--pt-mobile-card-width);
  }

.pt-home-journey-grid > li {
    flex: 0 0 var(--pt-mobile-card-width);
  }

.pt-home-profile-content ul {
    width: min(100%, 185px);
    max-width: 100%;
    margin-right: auto;
    margin-left: auto;
  }

.pt-home-profile-content li {
    width: 100%;
    max-width: 100%;
    justify-self: stretch;
    text-align: left;
  }

.pt-home-profile-content > a,
  .pt-home-story-card a {
    justify-content: center;
  }

.pt-home-journey-icon {
    margin-right: auto;
    margin-left: auto;
  }
}



/* Em tablets, os perfis permanecem em grade regular em vez de virar um trilho. */
@media (min-width: 768px) and (max-width: 991.98px) {
.pt-home-profiles .pt-home-profile-grid {
    display: grid;
    width: 100%;
    max-width: none;
    gap: 1rem;
    margin: 0;
    padding: 0;
    overflow: visible;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    scroll-padding: 0;
    scroll-snap-type: none;
  }

.pt-home-profiles .pt-home-profile-card {
    width: 100%;
    max-width: none;
    min-height: 438px;
    flex: none;
  }
}



/* Perfis mobile: quatro cartões horizontais compactos, sem carrossel. */
@media (max-width: 767.98px) {
.pt-home-profiles .pt-home-profile-grid {
    display: grid;
    width: min(100%, 430px);
    max-width: 100%;
    gap: 0.7rem;
    margin: 0 auto;
    padding: 0;
    overflow: visible;
    grid-template-columns: minmax(0, 1fr);
    grid-auto-rows: auto;
    scroll-padding: 0;
    scroll-snap-type: none;
  }

.pt-home-profiles .pt-home-profile-card {
    display: grid;
    width: 100%;
    min-height: 154px;
    max-width: none;
    flex: none;
    align-items: stretch;
    grid-template-columns: clamp(94px, 29vw, 112px) minmax(0, 1fr);
    border-radius: 20px;
    transform: none;
  }

.pt-home-profiles .pt-home-profile-photo {
    min-width: 0;
    min-height: 100%;
    aspect-ratio: auto;
    border-radius: 0;
  }

.pt-home-profiles .pt-home-profile-photo img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-position: 52% center;
  }

.pt-home-profiles .pt-home-profile-card.is-blue .pt-home-profile-photo img {
    object-position: 58% center;
  }

.pt-home-profiles .pt-home-profile-card.is-violet .pt-home-profile-photo img {
    object-position: 72% center;
  }

.pt-home-profiles .pt-home-profile-card.is-cyan .pt-home-profile-photo img {
    object-position: 70% center;
  }

.pt-home-profiles .pt-home-profile-photo::after {
    background: linear-gradient(
      90deg,
      transparent 46%,
      color-mix(in srgb, var(--pt-card-accent), #07111f 32%) 100%
    );
    opacity: 0.22;
  }

.pt-home-profiles .pt-home-profile-badge {
    top: 0.7rem;
    bottom: auto;
    left: 0.7rem;
    width: 34px;
    height: 34px;
    border-radius: 11px;
    backdrop-filter: none;
    box-shadow: 0 7px 16px rgba(7, 17, 31, 0.22);
  }

.pt-home-profiles .pt-home-profile-badge svg {
    width: 19px;
    height: 19px;
  }

.pt-home-profiles .pt-home-profile-content {
    min-width: 0;
    padding: 0.78rem 0.78rem 0.72rem;
    align-items: stretch;
    text-align: left;
  }

.pt-home-profiles .pt-home-profile-content > small {
    margin-right: 0;
    margin-bottom: 0.42rem;
    margin-left: 0;
    padding: 0.25rem 0.48rem;
    font-size: 0.65rem;
    letter-spacing: 0.065em;
  }

.pt-home-profiles .pt-home-profile-content h3 {
    min-block-size: 0;
    margin-bottom: 0.58rem;
    font-size: clamp(0.96rem, 4.35vw, 1.08rem);
    line-height: 1.16;
    text-align: left;
  }

.pt-home-profiles .pt-home-profile-content > p {
    min-block-size: 2.84em;
    margin-right: 0;
    margin-bottom: 0.62rem;
    margin-left: 0;
    font-size: 0.72rem;
    line-height: 1.42;
    text-align: left;
  }

.pt-home-profiles .pt-home-profile-content ul {
    width: 100%;
    min-block-size: calc(54px + 0.64rem);
    gap: 0.32rem;
    align-content: start;
    margin-right: 0;
    margin-bottom: 0.7rem;
    margin-left: 0;
    font-size: 0.72rem;
    line-height: 1.3;
    text-align: left;
  }

.pt-home-profiles .pt-home-profile-content li {
    width: 100%;
    gap: 0.42rem;
    grid-template-columns: 18px minmax(0, 1fr);
    text-align: left;
  }

.pt-home-profiles .pt-home-profile-content li i {
    width: 18px;
    height: 18px;
    font-size: 0.48rem;
  }

.pt-home-profiles .pt-home-profile-content > a {
    width: 100%;
    min-height: 44px;
    margin-top: auto;
    padding: 0.5rem 0.55rem 0.5rem 0.68rem;
    justify-content: space-between;
    font-size: 0.7rem;
    text-align: left;
  }

.pt-home-profiles .pt-home-profile-content > a span {
    min-width: 0;
    overflow-wrap: anywhere;
  }

.pt-home-profiles .pt-home-profile-content > a i {
    width: 28px;
    height: 28px;
    flex-basis: 28px;
  }
}



@media (max-width: 339.98px) {
.pt-home-profiles .pt-home-profile-card {
    min-height: 148px;
    grid-template-columns: 88px minmax(0, 1fr);
  }

.pt-home-profiles .pt-home-profile-content {
    padding: 0.72rem 0.68rem 0.65rem;
  }
}



/* Operação conectada: as seis etapas permanecem visíveis sem carrossel. */
@media (max-width: 767.98px) {
.pt-home-journey .pt-home-journey-grid {
    display: grid;
    width: 100%;
    max-width: 600px;
    gap: 0.5rem;
    margin: 0 auto;
    padding: 0;
    overflow: visible;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 1fr;
    scroll-padding: 0;
    scroll-snap-type: none;
  }

.pt-home-journey .pt-home-journey-grid > li {
    display: flex;
    width: 100%;
    min-width: 0;
    min-height: 154px;
    height: 100%;
    padding: 0.68rem 0.58rem 0.64rem;
    align-items: center;
    flex: none;
    flex-direction: column;
    scroll-snap-align: none;
    scroll-snap-stop: normal;
    text-align: center;
  }

.pt-home-journey .pt-home-journey-icon {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    border-radius: 11px;
  }

.pt-home-journey .pt-home-journey-icon svg {
    width: 23px;
    height: 23px;
  }

.pt-home-journey .pt-home-journey-grid small {
    top: 0.62rem;
    right: 0.62rem;
    font-size: 0.72rem;
  }

.pt-home-journey .pt-home-journey-grid h3 {
    width: 100%;
    min-height: 1.2em;
    margin: 0.48rem 0 0.22rem;
    font-size: clamp(0.76rem, 3.45vw, 0.88rem);
    line-height: 1.16;
  }

.pt-home-journey .pt-home-journey-grid p {
    margin: 0 auto;
    font-size: clamp(0.58rem, 2.5vw, 0.65rem);
    line-height: 1.32;
  }

.pt-home-journey .pt-home-journey-grid > li::after {
    right: -14px;
    bottom: -24px;
    font-size: 6rem;
  }
}



/* Títulos mobile respeitam a largura real do aparelho. */
@media (max-width: 767.98px) {
.pt-home-journey-intro h2 {
    width: max-content;
    max-width: 100%;
    font-size: clamp(1.28rem, 6.2vw, 1.9rem);
    letter-spacing: -0.055em;
    line-height: 1.08;
    white-space: nowrap;
  }

  .pt-home-profiles-heading h2 {
    width: 100%;
    max-width: 340px;
    margin-right: auto;
    margin-left: auto;
    font-size: clamp(1.45rem, 7.2vw, 1.9rem);
    letter-spacing: -0.045em;
    line-height: 1.08;
    text-wrap: balance;
    white-space: normal;
  }
}
