/* V7 — refinamento mobile: ritmo, títulos, arte da fórmula e CTA fixo */
@media (max-width: 760px) {
  html {
    overflow-x: hidden;
    scroll-padding-top: 76px;
    scroll-padding-bottom: 112px;
  }

  body {
    overflow-x: hidden;
    padding-bottom: calc(104px + env(safe-area-inset-bottom));
  }

  section[id] { scroll-margin-top: 76px; }

  .header__inner {
    width: calc(100% - 32px);
    height: 68px;
    gap: 10px;
  }

  .brand {
    width: clamp(128px, 37vw, 148px);
    flex: 0 1 auto;
  }

  .header .phone {
    flex: 0 0 auto;
    min-width: 132px;
    min-height: 48px;
    padding: 7px 10px;
    font-size: 12px;
    line-height: 1.05;
  }

  .post-presence,
  .post-decision,
  .post-search,
  .post-service,
  .post-faq {
    padding: 52px 0;
  }

  .post-presence__layout,
  .post-decision__layout,
  .post-search__layout,
  .post-service__layout,
  .post-faq__layout {
    gap: 30px;
  }

  .post-presence h2,
  .post-decision h2,
  .post-search h2,
  .post-service h2,
  .post-faq h2 {
    max-width: 100%;
    font-size: clamp(34px, 9.4vw, 40px);
    line-height: 1.08;
    letter-spacing: -.045em;
    overflow-wrap: normal;
    word-break: normal;
    hyphens: none;
    text-wrap: balance;
  }

  .post-presence h2 br,
  .post-decision h2 br,
  .post-service h2 br,
  .post-faq__intro h2 br {
    display: initial;
  }

  .post-eyebrow {
    margin-bottom: 14px;
    font-size: 10px;
    line-height: 1.45;
    letter-spacing: .12em;
  }

  .post-presence__copy > p:not(.post-eyebrow),
  .post-decision__copy > p:not(.post-eyebrow),
  .post-search__copy > p:not(.post-eyebrow),
  .post-service__copy > p:not(.post-eyebrow),
  .post-faq__intro > p:not(.post-eyebrow) {
    font-size: 16px;
    line-height: 1.62;
  }

  .post-presence__copy > p:nth-of-type(2) { margin-top: 22px; }
  .post-decision__copy > p:not(.post-eyebrow),
  .post-service__copy > p:not(.post-eyebrow) { margin: 22px 0 24px; }

  .post-cta {
    min-height: 74px;
    padding: 12px 15px;
    border-radius: 14px;
  }

  .post-cta span {
    font-size: 10px;
    line-height: 1.25;
    letter-spacing: .07em;
  }

  .post-cta strong {
    font-size: clamp(25px, 7.5vw, 29px);
    line-height: 1.05;
    white-space: nowrap;
  }

  .post-trust {
    gap: 12px 18px;
    margin-top: 22px;
  }

  .post-trust span {
    font-size: 12px;
    line-height: 1.4;
  }

  .post-presence__territories,
  .decision-panel {
    margin-top: 4px;
  }

  .decision-panel__number {
    gap: 15px;
  }

  .decision-panel__number strong { font-size: 64px; }
  .decision-panel__number span { font-size: 19px; }

  .post-search__cards,
  .post-service__steps { gap: 14px; }

  .post-faq__intro > p:not(.post-eyebrow) {
    margin: 20px 0 22px;
  }

  .post-faq__items { margin-top: 8px; }

  .post-faq__question {
    min-height: 74px;
    padding: 18px 2px;
    font-size: 15px;
    line-height: 1.35;
  }

  .post-final {
    padding: 34px 0 42px;
  }

  .formula-reference__mobile {
    padding: 48px 20px 42px;
    text-align: center;
  }

  /* Centralizacao editorial exclusiva do mobile. */
  .campaign-hero__copy,
  .audience__layout > div,
  .video-feature__copy,
  .rhythm-copy,
  .post-presence__copy,
  .post-decision__copy,
  .post-search__copy,
  .post-service__copy,
  .post-faq__intro,
  .post-final__inner {
    text-align: center;
  }

  .campaign-hero__eyebrow,
  .campaign-hero__title,
  .campaign-hero__text,
  .campaign-hero__cta,
  .eyebrow,
  .lead,
  .rhythm-copy__eyebrow,
  .rhythm-copy__lead,
  .post-eyebrow,
  .post-presence__copy > p,
  .post-decision__copy > p,
  .post-search__copy > p,
  .post-service__copy > p,
  .post-faq__intro > p,
  .post-call-link,
  .outline {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
  }

  .ticks li {
    padding-left: 0;
    text-align: center;
  }

  .ticks li::before {
    position: static;
    display: inline-block;
    margin-right: 8px;
  }

  .formula-reference__mobile h2 {
    font-size: clamp(35px, 9.5vw, 43px);
    line-height: 1.07;
    letter-spacing: -.045em;
    text-wrap: balance;
  }

  .formula-reference__lead {
    margin: 18px 0 22px;
    font-size: 15px;
    line-height: 1.6;
  }

  .formula-reference__items {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .formula-reference__items article {
    min-height: 92px;
    padding: 10px 0;
    justify-content: center;
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  .formula-reference__items i {
    flex-basis: 52px;
    width: 52px;
    height: 52px;
    font-size: 21px;
  }

  .formula-reference__items strong {
    font-size: 14px;
    line-height: 1.3;
  }

  .formula-reference__items span {
    font-size: 13px;
    line-height: 1.4;
  }

  .formula-reference__dose {
    margin-top: 14px;
    padding: 18px 0;
    font-size: 15px;
    line-height: 1.35;
    text-align: center;
  }

  .formula-reference__dose strong {
    margin-left: 5px;
  }

  .formula-reference__product-art {
    width: 100%;
    aspect-ratio: 1828 / 860;
    margin: 8px auto 22px;
    border-radius: 12px;
    background-color: #031a33;
    background-position: center;
    background-size: contain;
  }

  .rhythm-copy__items article,
  .post-presence__territories article,
  .decision-panel li,
  .post-search__cards article,
  .post-service__steps li {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 10px;
    text-align: center;
  }

  .rhythm-copy__icon,
  .post-presence__territories article > b,
  .decision-panel li > b,
  .post-search__cards article > b,
  .post-service__steps li > b {
    margin-inline: auto;
  }

  .post-trust {
    justify-content: center;
  }

  .post-faq__question {
    position: relative;
    justify-content: center;
    padding-left: 48px;
    padding-right: 48px;
    text-align: center;
  }

  .post-faq__question > span {
    position: absolute;
    right: 4px;
  }

  .post-faq__answer p {
    padding-left: 20px;
    padding-right: 20px;
    text-align: center;
  }

  .post-final__inner {
    align-items: center;
  }

  .formula-reference__cta {
    min-height: 74px;
    margin-bottom: 12px;
    padding: 12px 16px;
  }

  .formula-reference__cta span { font-size: 10px; }
  .formula-reference__cta strong { font-size: 25px; }

  .sticky {
    left: 14px;
    right: 14px;
    bottom: max(8px, env(safe-area-inset-bottom));
    min-height: 60px;
    padding: 8px 15px;
    padding-bottom: 8px;
    gap: 10px;
    border-radius: 13px;
  }

  .sticky i { font-size: 20px; }

  .sticky > span {
    font-size: 10px;
    line-height: 1.1;
    letter-spacing: .08em;
  }

  .sticky small {
    margin-top: 3px;
    font-size: 16px;
    line-height: 1;
  }
}

@media (max-width: 390px) {
  .header__inner { width: calc(100% - 26px); }
  .brand { width: 126px; }
  .header .phone { min-width: 124px; font-size: 11px; }

  .post-presence,
  .post-decision,
  .post-search,
  .post-service,
  .post-faq { padding: 46px 0; }

  .post-presence h2,
  .post-decision h2,
  .post-search h2,
  .post-service h2,
  .post-faq h2 {
    font-size: 34px;
    line-height: 1.09;
  }

  .post-cta strong { font-size: 25px; }
  .formula-reference__mobile h2 { font-size: 35px; }
  .formula-reference__product-art { background-size: contain; }
}

@media (max-width: 360px) {
  .header .phone { min-width: 116px; padding-inline: 8px; font-size: 10.5px; }
  .brand { width: 118px; }
  .post-presence h2,
  .post-decision h2,
  .post-search h2,
  .post-service h2,
  .post-faq h2 { font-size: 32px; }
  .post-cta strong { font-size: 23px; }
}


/* V9 — imagem completa da fórmula no mobile, sem corte */
@media (max-width: 760px) {
  .formula-reference__product-art {
    display: none !important;
  }

  .formula-reference__product-mobile {
    display: block;
    width: 100%;
    max-width: 680px;
    height: auto;
    aspect-ratio: 1672 / 941;
    object-fit: contain;
    margin: 8px auto 22px;
    border-radius: 16px;
    overflow: hidden;
    background: #031a33;
    box-shadow: 0 10px 28px rgba(4, 31, 67, .14);
  }

  .formula-reference__dose {
    margin-bottom: 2px;
  }

  .formula-reference__cta {
    margin-top: 0;
  }
}

@media (max-width: 390px) {
  .formula-reference__product-mobile {
    border-radius: 14px;
  }
}
