/* =============================================================================
   mobile.css — canvas de 23.4375rem (Figma "375Px").

   Mesmo HTML do desktop: aqui só mudam posições, tamanhos e a direção dos
   empilhamentos. As duas folhas são mutuamente exclusivas, então nada precisa
   ser "desfeito" — cada breakpoint declara o seu próprio valor.
   ============================================================================= */

@media (max-width: 1023.98px) {

  /* Até 480px o canvas de 375 preenche a tela; acima disso para de esticar
     e fica centralizado, em vez de espalhar a arte por uma largura de tablet. */
  .page {
    width: 100%;
    max-width: 23.4375rem;
    margin-inline: auto;
  }

  .page__top {
    background-image: linear-gradient(266.72deg, rgb(255, 255, 255) 7.47%, rgb(238, 238, 238) 92.53%);
  }

  /* ======================= HERO ======================= */

  .hero {
    position: relative;
    height: 50.3125rem;
    width: 100%;
    overflow: clip;
  }

  .hero__wordmark {
    position: absolute;
    left: calc(50% - 10.15625rem);
    top: 8.5625rem;
    translate: 0 -50%;
    font-family: var(--font-poppins);
    font-weight: 900;
    font-style: normal;
    font-size: 4.375rem;
    line-height: 4.2rem;
    color: var(--c-orange);
    white-space: nowrap;
  }

  .hero__logo {
    position: absolute;
    left: 50%;
    top: 2.125rem;
    height: 3.5rem;
    width: 10.3rem;
    translate: -50% 0;
    object-fit: contain;
  }

  .hero__orange {
    position: absolute;
    left: 8.25875rem;
    top: 18.1525rem;
    height: 13.111562rem;
    width: 13.993313rem;
    object-fit: cover;
    filter: drop-shadow(0.6875rem 0.4375rem 1.44375rem rgba(0, 0, 0, 0.1));
  }

  .hero__bottle {
    position: absolute;
    left: 3.862906rem;
    top: 9.813719rem;
    width: 11.301187rem;
    height: 22.712062rem;
    object-fit: cover;
    rotate: 4.12deg;
    filter: drop-shadow(1.5rem 1.125rem 2.5rem rgba(0, 0, 0, 0.2));
  }

  .hero__copy {
    position: absolute;
    left: 50%;
    top: 32rem;
    display: flex;
    width: 20.875rem;
    translate: -50% 0;
    flex-direction: column;
    gap: 1.6875rem;
    align-items: center;
  }

  .hero__intro {
    display: flex;
    width: 21.875rem;
    flex-direction: column;
    gap: 1.1875rem;
    align-items: center;
    line-height: 0;
  }

  .hero__headline {
    font-family: var(--font-poppins);
    font-weight: 400;
    font-style: normal;
    color: var(--c-text);
    white-space: nowrap;
  }

  .hero__headline-a {
    display: block;
    font-size: 1.5rem;
    line-height: 2rem;
  }

  .hero__headline-b {
    display: block;
    font-family: var(--font-poppins);
    font-weight: 800;
    font-size: 1.75rem;
    line-height: 2rem;
    color: var(--c-teal);
    text-transform: uppercase;
  }

  /* Dois cards lado a lado no canvas de 375: fontes e paddings menores para
     caberem, mantendo o mesmo desenho do desktop. */
  .hero__prices {
    gap: 0.625rem;
  }

  .price-card {
    gap: 0.1875rem;
    padding: 0.875rem 0.9375rem;
  }

  .price-card__badge {
    right: 0.75rem;
    padding: 0.1875rem 0.625rem;
    font-size: 0.8125rem;
    line-height: 1.125rem;
  }

  .price-card__amount {
    gap: 0.1875rem;
  }

  .price-card__cur {
    font-size: 1.0625rem;
  }

  .price-card__val {
    font-size: 2rem;
  }

  .price-card__unit {
    margin-top: 0.125rem;
    font-size: 0.9375rem;
    line-height: 1.125rem;
  }

  .hero__cta {
    min-width: 20rem;
    --cta-icon: 1.0625rem;
  }

  .hero__cta .cta__label {
    font-size: 1.0625rem;
  }

  /* Menos respiro lateral e menos gap: aos 375px do canvas o rótulo do hero
     (292px) mais o ícone já ocupam quase toda a largura disponível. */
  .cta {
    gap: 0.5rem;
    padding-inline: 1rem;
  }

  /* ======================= O QUE É ======================= */

  .about {
    display: flex;
    width: 100%;
    flex-direction: column;
    align-items: center;
    gap: 0.9375rem;
    padding: 1.875rem 0;
  }

  .about__media {
    position: relative;
    flex-shrink: 0;
  }

  .about__card {
    position: relative;
    height: 20rem;
    width: 20.8125rem;
    border-radius: var(--r-card);
  }

  .about__photo {
    position: absolute;
    top: 0;
    left: -37.02%;
    height: 100%;
    width: 144.3%;
    max-width: none;
    object-fit: cover;
  }

  .about__slice {
    position: absolute;
    left: 11.015625rem;
    top: 14.0625rem;
    height: 8.75rem;
    width: 10rem;
    object-fit: cover;
  }

  .about__content {
    display: flex;
    width: 21.0625rem;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-inline: 1.25rem;
  }

  .about__stack {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
    padding-bottom: 0.9375rem;
  }

  .about__text {
    display: flex;
    width: 23.5rem;
    flex-direction: column;
    align-items: center;
    gap: 0.3125rem;
  }

  .about__title-wrap {
    display: flex;
    width: 20.8125rem;
    flex-direction: column;
    align-items: flex-start;
    padding-bottom: 0.9375rem;
    padding-right: 0.625rem;
    line-height: 0;
  }

  .about__title {
    width: 20.8125rem;
    font-family: var(--font-poppins);
    font-weight: 400;
    font-style: normal;
    font-size: 2.625rem;
    line-height: 3.25rem;
    color: var(--c-text);
  }

  .about__title-em {
    font-family: var(--font-poppins);
    font-weight: 900;
    color: var(--c-teal);
  }

  .about__body {
    display: flex;
    width: 20.8125rem;
    flex-direction: column;
    gap: 1.25rem;
    align-items: flex-start;
    padding-right: 1.5rem;
    padding-top: 0.25rem;
    font-family: var(--font-roboto);
    font-weight: 400;
    font-size: 1.125rem;
    line-height: 0;
    color: var(--c-muted);
    font-variation-settings: "wdth" 100;
  }

  .about__body p {
    line-height: 1.96875rem;
  }

  /* ======================= COMO AJUDAR ======================= */

  .benefits {
    position: relative;
    display: flex;
    width: 100%;
    flex-direction: column;
    align-items: center;
    gap: 0.625rem;
    overflow: clip;
    padding: 7.5rem 0.625rem 0;
  }

  .benefits__bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    pointer-events: none;
  }

  .benefits__arrows {
    display: none;
  }

  .benefits__inner {
    position: relative;
    display: flex;
    width: 100%;
    flex-direction: column;
    align-items: center;
  }

  .benefits__title {
    text-align: center;
    line-height: 0;
    color: var(--c-white);
    white-space: pre-wrap;
  }

  .benefits__title-a,
  .benefits__title-em {
    font-size: 2.875rem;
    line-height: 3.3125rem;
  }

  .benefits__title-a {
    font-family: var(--font-system);
  }

  .benefits__title-em {
    font-family: var(--font-poppins);
    font-weight: 800;
  }

  .benefits__title-b {
    font-family: var(--font-poppins);
    font-weight: 800;
    font-size: 3.25rem;
    line-height: 4rem;
    text-transform: uppercase;
  }

  .benefits__list {
    margin-top: 2.5rem;
    display: flex;
    width: 100%;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
  }

  .benefits__item {
    width: 100%;
  }

  .benefits__item-title,
  .benefits__item-desc {
    width: 21rem;
  }

  .benefits__photo {
    /* Sem isto a foto fica ATRÁS de .benefits__bg (que é absolute) e some.
       No React ela vinha dentro de um wrapper `relative`. */
    position: relative;
    margin-top: 0.625rem;
    height: 49.3125rem;
    width: 27.5625rem;
    max-width: none;
    flex-shrink: 0;
    object-fit: cover;
    pointer-events: none;
  }

  /* ======================= POR QUE ESCOLHER ======================= */

  .why {
    display: flex;
    width: 100%;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3.125rem;
    padding: 5rem 0;
  }

  .why__figure {
    position: relative;
    height: 28.375rem;
    width: 20.8125rem;
    flex-shrink: 0;
    border-radius: var(--r-card);
  }

  .why__photo {
    position: absolute;
    top: -7.21%;
    left: 0;
    height: 112.75%;
    width: 100%;
    max-width: none;
    object-fit: cover;
  }

  .why__content {
    display: flex;
    width: 23.3125rem;
    flex-direction: column;
    align-items: center;
    padding-inline: 1.25rem;
  }

  .why__stack {
    display: flex;
    width: 20.8125rem;
    flex-direction: column;
    align-items: center;
    gap: 1.5625rem;
  }

  .why__title {
    width: 100%;
    font-family: var(--font-poppins);
    font-weight: 400;
    font-style: normal;
    font-size: 2.125rem;
    line-height: 2.625rem;
    color: var(--c-text);
  }

  .why__title-em {
    font-family: var(--font-poppins);
    font-weight: 800;
    color: var(--c-teal);
  }

  .why__cards {
    display: flex;
    width: 100%;
    flex-direction: column;
    gap: 0.9375rem;
    align-items: flex-start;
  }

  .card {
    flex-direction: column;
  }

  .card__body {
    width: 100%;
  }

  .why__closing {
    width: 100%;
    font-family: var(--font-poppins);
    font-weight: 800;
    font-style: normal;
    font-size: 1.625rem;
    line-height: 2.25rem;
    color: var(--c-text);
  }

  /* ======================= JORNADA (LINHA DO TEMPO) =======================
     A mesma linha do tempo, na vertical. Aqui o trilho contínuo não serve: as
     etapas têm alturas diferentes, então cada uma desenha o seu próprio trecho
     do marcador até a etapa seguinte. */

  .journey {
    width: 100%;
    padding: 0 0 5rem;
  }

  /* 20.8125rem em 23.4375rem de canvas deixam a seção alinhada em x = 21px,
     igual às demais seções do mobile. */
  .journey__inner {
    width: 20.8125rem;
    margin-inline: auto;
  }

  .journey__title {
    font-size: 1.875rem;
    line-height: 2.375rem;
  }

  .journey__track {
    margin-top: 2.5rem;
  }

  .journey__rail {
    display: none;
  }

  .journey__steps {
    row-gap: 2.25rem;
  }

  .journey__step {
    display: grid;
    grid-template-columns: 4.5rem 1fr;
    grid-template-rows: auto auto;
    column-gap: 1.125rem;
    align-items: start;
    text-align: left;
  }

  /* Trecho do trilho: do pé do marcador até o topo do marcador seguinte. */
  .journey__step::after {
    content: "";
    position: absolute;
    left: 2.25rem;
    translate: -50% 0;
    top: 4.5rem;
    bottom: -2.25rem;
    width: 0.125rem;
    border-radius: 9999px;
    background-image: linear-gradient(
      180deg,
      var(--stage) 0%,
      var(--c-border-soft) 65%
    );
  }

  .journey__step:last-child::after {
    content: none;
  }

  .journey__marker {
    grid-column: 1;
    grid-row: 1 / span 2;
    width: 4.5rem;
    height: 4.5rem;
  }

  .journey__icon {
    width: 2rem;
    stroke-width: 1.8;
  }

  .journey__stage {
    grid-column: 2;
    grid-row: 1;
    margin-top: 0.5rem;
    font-size: 1rem;
    line-height: 1.375rem;
    letter-spacing: 0.09375rem;
  }

  .journey__desc {
    grid-column: 2;
    grid-row: 2;
    margin-top: 0.25rem;
    font-size: 1.125rem;
    line-height: 1.625rem;
  }

  /* ======================= MELHOR VERSÃO / OFERTA ======================= */

  .offer {
    position: relative;
    height: 85.3125rem;
    width: 100%;
    overflow: clip;
  }

  .offer__bg-clip {
    position: absolute;
    inset: 0;
    overflow: clip;
    pointer-events: none;
  }

  .offer__bg {
    position: absolute;
    top: -0.03%;
    left: 0.04%;
    height: 121.55%;
    width: 100%;
    max-width: none;
    object-fit: cover;
  }

  .offer__title {
    position: absolute;
    left: 1.375rem;
    top: 15.34375rem;
    translate: 0 -50%;
    font-family: var(--font-poppins);
    font-weight: 400;
    font-style: normal;
    color: var(--c-white);
    white-space: nowrap;
  }

  .offer__title-a {
    display: block;
    font-size: 3.5rem;
    line-height: 3.1875rem;
  }

  .offer__title-b {
    display: block;
    font-family: var(--font-poppins);
    font-weight: 900;
    font-size: 3.875rem;
    line-height: 5.375rem;
    text-transform: uppercase;
  }

  .offer__bottles {
    position: absolute;
    left: 50%;
    top: 23.5625rem;
    height: 26.4375rem;
    width: 22.8125rem;
    translate: -50% 0;
    object-fit: cover;
    pointer-events: none;
  }

  .offer__orange {
    position: absolute;
    left: 10rem;
    top: 39.3125rem;
    height: 11.5625rem;
    width: 12rem;
    object-fit: cover;
    pointer-events: none;
  }

  /* A seta com bolinha só existe no desenho de desktop. */
  .offer__pointer {
    display: none;
  }

  .offer__claim {
    position: absolute;
    left: 50%;
    top: 53.96875rem;
    translate: -50% -50%;
    text-align: center;
    font-style: normal;
    font-size: 1.3125rem;
    color: var(--c-white);
    white-space: nowrap;
  }

  .offer__claim-a,
  .offer__claim-b {
    display: block;
    font-family: var(--font-poppins);
    line-height: 1.575rem;
  }

  .offer__claim-a { font-weight: 400; }
  .offer__claim-b { font-weight: 800; }

  .offer__dot--1 { left: 4.1875rem; top: 58.6875rem; }
  .offer__price--1 { left: 8.0625rem; top: 60.90625rem; }
  .offer__dot--2 { left: 1.875rem; top: 66.4375rem; }
  .offer__price--2 { left: 5.75rem; top: 69.71875rem; }

  .offer__cta {
    position: absolute;
    left: 50%;
    top: 73.25rem;
    min-width: 18.875rem;
    translate: -50% 0;
  }

  /* ======================= PÍLULAS DECORATIVAS ======================= */

  .pill--1 {
    left: 0.130562rem; top: 14.2075rem;
    width: 6.946187rem; height: 6.154rem;
    rotate: -63.9deg;
  }

  .pill--3 {
    left: -6.0325rem; top: 115.1585rem;
    width: 12.759125rem; height: 12.277375rem;
    rotate: 97.71deg;
    filter: blur(0.4125rem);
  }

  .pill--5 {
    left: calc(50% + 2.985781rem); top: 421.630594rem;
    width: 12.508688rem; height: 11.082187rem;
    rotate: 82.9deg;
    filter: drop-shadow(0.4375rem 0.25rem 1.5875rem rgba(0, 0, 0, 0.15));
  }

  .pill--7 {
    left: 0.026781rem; top: 259.291313rem;
    width: 6.705125rem; height: 5.940437rem;
    rotate: 81.33deg;
    filter: drop-shadow(0.4375rem 0.25rem 1.5875rem rgba(0, 0, 0, 0.15));
  }

  .pill--8 {
    left: -3.987094rem; top: 474.576031rem;
    width: 6.705125rem; height: 5.940437rem;
    rotate: -167.18deg;
    filter: drop-shadow(0.4375rem 0.25rem 1.5875rem rgba(0, 0, 0, 0.15));
  }

  /* Sem posição visível no desenho mobile: a --2 fica em calc(100% + 74.75rem)
     e a --6 abaixo do fim da página, ambas cortadas pelo overflow. */
  .pill--2,
  .pill--4,
  .pill--6 {
    display: none;
  }

}
