/* 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-visual {
    min-height: 108px;
    padding: 1.15rem 1.2rem;
  }

.pt-home-profile-visual .pt-home-icon-shell {
    width: 64px;
    height: 64px;
    flex-basis: 64px;
    border-radius: 18px;
  }

.pt-home-profile-visual .pt-home-icon-shell svg {
    width: 36px;
    height: 36px;
  }

.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-visual {
    min-height: 102px;
    padding: 1rem;
  }

.pt-home-profile-visual .pt-home-icon-shell {
    width: 58px;
    height: 58px;
    flex-basis: 58px;
    border-radius: 16px;
  }

.pt-home-profile-visual .pt-home-icon-shell svg {
    width: 33px;
    height: 33px;
  }

.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-visual {
    min-height: 100px;
    padding: 1rem 1.1rem;
  }

.pt-home-profile-visual .pt-home-icon-shell {
    width: 60px;
    height: 60px;
    flex-basis: 60px;
  }

.pt-home-profile-visual .pt-home-icon-shell svg {
    width: 34px;
    height: 34px;
  }

.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.7rem;
    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 linhas claras substituem o carrossel. */
@media (max-width: 767.98px) {
.pt-home-profiles .pt-home-profile-grid {
    display: grid;
    width: min(100%, 430px);
    max-width: 100%;
    gap: 0.8rem;
    margin: 0 auto;
    padding: 0;
    overflow: visible;
    grid-template-columns: minmax(0, 1fr);
    grid-auto-rows: 1fr;
    scroll-padding: 0;
    scroll-snap-type: none;
  }

.pt-home-profiles .pt-home-profile-card {
    display: grid;
    width: 100%;
    height: 100%;
    min-height: 0;
    max-width: none;
    flex: none;
    grid-template-columns: 82px minmax(0, 1fr);
    transform: none;
  }

.pt-home-profiles .pt-home-profile-visual {
    min-height: 100%;
    padding: 0.85rem 0.65rem;
    align-items: center;
    justify-content: space-between;
    flex-direction: column;
  }

.pt-home-profiles .pt-home-profile-visual .pt-home-icon-shell {
    width: 50px;
    height: 50px;
    flex-basis: 50px;
    border-radius: 15px;
  }

.pt-home-profiles .pt-home-profile-visual .pt-home-icon-shell svg {
    width: 29px;
    height: 29px;
  }

.pt-home-profiles .pt-home-profile-number {
    min-width: 36px;
    min-height: 26px;
    padding: 0.25rem 0.45rem;
    font-size: 0.6rem;
  }

.pt-home-profiles .pt-home-profile-content {
    padding: 0.9rem;
    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.26rem 0.48rem;
    font-size: 0.56rem;
  }

.pt-home-profiles .pt-home-profile-content h3 {
    min-block-size: 2.28em;
    margin-bottom: 0.45rem;
    font-size: clamp(1rem, 4.8vw, 1.14rem);
    line-height: 1.14;
    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.68rem;
    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: 42px;
    margin-top: auto;
    padding: 0.55rem 0.65rem;
    justify-content: space-between;
    font-size: 0.68rem;
    text-align: left;
  }

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



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

.pt-home-profiles .pt-home-profile-visual {
    padding-right: 0.5rem;
    padding-left: 0.5rem;
  }

.pt-home-profiles .pt-home-profile-visual .pt-home-icon-shell {
    width: 44px;
    height: 44px;
    flex-basis: 44px;
  }

.pt-home-profiles .pt-home-profile-content {
    padding: 0.8rem 0.75rem;
  }
}



/* 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.5rem;
  }

.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 essenciais permanecem em uma única linha. */
@media (max-width: 767.98px) {
.pt-home-profiles-heading h2,
  .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;
  }
}
