/* =========================================================
   EXPERIÊNCIA MOBILE PREMIUM
   Ajustes finais para conversão, legibilidade e navegação.
========================================================= */

.topbar__mobile { display: none; }

@media (max-width: 680px) {
  :root {
    --mobile-gutter: 16px;
  }

  html {
    scroll-padding-top: 72px;
  }

  body {
    overflow-x: hidden;
    -webkit-text-size-adjust: 100%;
  }

  body.menu-open {
    overflow: hidden;
  }

  .container {
    width: min(calc(100% - (var(--mobile-gutter) * 2)), var(--max-width));
  }

  /* Barra superior curta: não ocupa duas linhas no primeiro acesso. */
  .topbar {
    min-height: 28px;
    padding: 5px 10px;
    white-space: nowrap;
    overflow: hidden;
    font-size: 10.5px;
    line-height: 1.1;
    letter-spacing: .05px;
  }

  .topbar__desktop { display: none; }
  .topbar__mobile { display: inline; }

  /* Cabeçalho compacto e com área de toque confortável. */
  .header {
    background: rgba(255, 251, 247, .97);
    box-shadow: 0 5px 18px rgba(51, 32, 112, .055);
  }

  .header__inner {
    min-height: 62px;
    gap: 12px;
  }

  .brand {
    gap: 9px;
    font-size: 14.5px;
    line-height: 1.02;
  }

  .brand__icon {
    width: 40px;
    height: 40px;
    flex-basis: 40px;
    border-radius: 13px;
    font-size: 19px;
    box-shadow: 0 7px 16px rgba(51, 32, 112, .09);
  }

  .menu-toggle {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    font-size: 24px;
  }

  .nav.mobile-open {
    top: 62px;
    max-height: calc(100svh - 62px);
    overflow-y: auto;
    gap: 3px;
    padding: 14px 16px 20px;
    background: rgba(255, 250, 245, .99);
  }

  .nav.mobile-open a {
    width: 100%;
    padding: 13px 12px;
    border-radius: 12px;
    font-size: 15px;
  }

  .nav.mobile-open a:active {
    background: #f3edff;
  }

  /* Primeira dobra: mais limpa, legível e sem CTA cobrindo conteúdo. */
  .hero {
    padding: 20px 0 34px;
  }

  .hero__grid {
    min-height: 0;
    gap: 24px;
  }

  .hero__copy {
    padding: 0;
    text-align: center;
  }

  .hero .eyebrow {
    margin: 0 auto 15px;
    padding: 8px 11px 8px 29px;
    border-radius: 12px;
    font-size: 9.5px;
    line-height: 1.15;
    letter-spacing: .55px;
  }

  .hero .eyebrow::before {
    left: 11px;
    width: 8px;
    height: 8px;
  }

  .hero h1 {
    max-width: 390px;
    margin: 0 auto 16px;
    font-size: clamp(34px, 9.6vw, 40px);
    line-height: .99;
    letter-spacing: -1.55px;
    text-wrap: balance;
  }

  .hero .highlight::after {
    bottom: -3px;
    height: 5px;
  }

  .hero .hero__copy > .hero__lead {
    max-width: 390px;
    margin: 0 auto;
    padding: 12px 13px 12px 43px;
    border-radius: 15px;
    font-size: 14px;
    line-height: 1.45;
    text-align: left;
    box-shadow: 0 8px 18px rgba(180, 132, 0, .055);
  }

  .hero .hero__copy > .hero__lead::before {
    left: 12px;
    width: 24px;
    height: 24px;
    font-size: 12px;
  }

  .hero__actions--simple {
    display: grid;
    grid-template-columns: 1fr;
    gap: 9px;
    max-width: 390px;
    margin: 14px auto 10px;
  }

  .hero__actions--simple .btn {
    width: 100%;
    min-height: 52px;
    padding: 13px 18px;
    border-radius: 15px;
    font-size: 14px;
  }

  .hero__actions--simple .btn--secondary {
    min-height: 44px;
    padding-block: 9px;
    font-size: 13px;
  }

  .hero-simple-note {
    max-width: 350px;
    margin: 0 auto;
    font-size: 9px;
    line-height: 1.45;
  }

  .hero__visual {
    max-width: 360px;
    padding: 0 4px;
  }

  .hero__visual::before {
    width: 190px;
    height: 190px;
  }

  .hero__visual::after {
    width: 210px;
    height: 210px;
  }

  .hero .product-image {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-position: center 8%;
    border-radius: 22px;
    box-shadow: 0 18px 42px rgba(55, 35, 105, .16);
  }

  /* Provas rápidas em 2x2: menos rolagem e leitura mais fácil. */
  .trust-row,
  .trust-row--premium {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 22px;
  }

  .trust-item {
    min-height: 104px;
    align-items: flex-start;
    gap: 9px;
    padding: 14px 12px;
    border-radius: 18px;
  }

  .trust-icon {
    font-size: 22px;
  }

  .trust-item strong {
    font-size: 12px;
    line-height: 1.2;
  }

  .trust-item small {
    margin-top: 3px;
    font-size: 10px;
    line-height: 1.3;
  }

  /* Ritmo geral do conteúdo. */
  .section,
  .problem-section {
    padding: 44px 0;
  }

  .section-heading {
    margin-bottom: 24px;
  }

  .section-heading__tag {
    font-size: 10px;
    letter-spacing: .8px;
  }

  .section-heading h2,
  .problem-copy h2,
  .final-cta h2 {
    font-size: clamp(29px, 8vw, 34px);
    line-height: 1.06;
    letter-spacing: -1px;
    text-wrap: balance;
  }

  .section-heading p,
  .problem-copy > p,
  .final-cta p {
    font-size: 15px;
    line-height: 1.55;
  }

  .problem-grid {
    gap: 24px;
  }

  .problem-highlight,
  .proof-card,
  .card,
  .benefit-pro,
  .activity-sheet,
  .included-note,
  .faq details {
    border-radius: 20px;
  }

  .proof-card,
  .benefit-pro,
  .activity-sheet,
  .card {
    padding: 19px;
  }

  .benefits-grid-pro,
  .activity-showcase {
    gap: 14px;
  }

  .activity-sheet {
    min-height: 230px;
  }

  .included-note {
    padding: 22px 18px;
  }

  .included-note strong {
    font-size: 19px;
    line-height: 1.25;
  }

  .included-note span {
    font-size: 14px;
    line-height: 1.55;
  }

  .age-card {
    gap: 14px;
  }

  /* Oferta sem excesso de espaços e com CTA muito claro. */
  .offer__content,
  .offer__price,
  .offer--premium .offer-included-card {
    padding: 22px 18px;
  }

  .included-header {
    gap: 14px;
  }

  .included-header h3 {
    font-size: 25px;
  }

  .included-count {
    width: 78px;
    height: 78px;
    border-radius: 20px;
  }

  .included-categories {
    grid-template-columns: 1fr;
  }

  .price {
    font-size: 50px;
    line-height: 1;
  }

  .offer-button {
    min-height: 55px;
    border-radius: 16px;
    font-size: 14px;
  }

  .payment-icons--premium {
    gap: 10px;
  }

  .faq {
    gap: 10px;
  }

  .faq details {
    padding: 17px 16px;
  }

  .faq summary {
    font-size: 14px;
    line-height: 1.35;
  }

  .faq details p {
    font-size: 14px;
  }

  .final-cta__box {
    padding: 30px 18px;
    border-radius: 24px;
  }

  .footer__grid {
    gap: 26px;
  }

  /* CTA fixo aparece apenas depois que a primeira oferta sai da tela. */
  .sticky-mobile {
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr);
    align-items: center;
    gap: 8px;
    left: 10px;
    right: 10px;
    bottom: max(8px, env(safe-area-inset-bottom, 0px));
    padding: 8px;
    border-radius: 20px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(calc(100% + 24px));
    transition: opacity .22s ease, transform .28s ease, visibility .22s ease;
  }

  .sticky-mobile.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }

  .sticky-mobile__price {
    margin: 0;
    font-size: 9px;
    line-height: 1.15;
    text-align: left;
  }

  .sticky-mobile__price strong {
    display: block;
    margin-top: 2px;
    font-size: 16px;
    line-height: 1;
  }

  .sticky-mobile .btn {
    min-height: 48px;
    padding: 10px 12px;
    border-radius: 14px;
    font-size: 12.5px;
    line-height: 1.08;
    white-space: nowrap;
  }

  .cookie-banner {
    bottom: max(10px, env(safe-area-inset-bottom, 0px));
    padding: 16px;
    border-radius: 18px;
  }

  body.sticky-cta-visible .cookie-banner {
    bottom: calc(80px + env(safe-area-inset-bottom, 0px));
  }

  body.cookie-consent-open .sticky-mobile {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transform: translateY(calc(100% + 24px)) !important;
  }

  main {
    padding-bottom: 0;
  }

  .footer {
    padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px));
  }

  .final-cta {
    padding-bottom: 48px;
  }
}

@media (max-width: 390px) {
  .container {
    width: calc(100% - 28px);
  }

  .brand {
    font-size: 13.5px;
  }

  .hero h1 {
    font-size: 34px;
    letter-spacing: -1.35px;
  }

  .hero .hero__copy > .hero__lead {
    font-size: 13.5px;
  }

  .trust-row,
  .trust-row--premium {
    gap: 8px;
  }

  .trust-item {
    min-height: 108px;
    padding: 13px 10px;
  }

  .sticky-mobile {
    grid-template-columns: 82px minmax(0, 1fr);
  }

  .sticky-mobile .btn {
    font-size: 11.5px;
  }
}


@media (max-width: 350px) {
  .hero h1 { font-size: 31px; letter-spacing: -1.15px; }
  .trust-row, .trust-row--premium { grid-template-columns: 1fr; }
  .trust-item { min-height: 0; }
  .sticky-mobile { grid-template-columns: 74px minmax(0, 1fr); left: 7px; right: 7px; }
  .sticky-mobile__price { font-size: 8px; }
  .sticky-mobile__price strong { font-size: 14px; }
  .sticky-mobile .btn { padding-inline: 8px; font-size: 10.5px; }
}


@media (max-width: 680px) {
  /* Ajuste dos cards de benefícios no mobile */
  .benefit-pro {
    position: relative;
    padding: 18px 18px 20px;
    overflow: hidden;
  }

  .benefit-pro::after {
    width: 92px;
    height: 92px;
    right: -44px;
    top: -44px;
    opacity: .9;
  }

  .benefit-pro__top {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 18px;
  }

  .benefit-pro__icon {
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    border-radius: 14px;
    font-size: 22px;
  }

  .benefit-pro__top small {
    position: relative;
    z-index: 2;
    display: block;
    flex: 1 1 auto;
    max-width: calc(100% - 58px);
    margin-top: 8px;
    padding-right: 16px;
    text-align: right;
    font-size: 11px;
    line-height: 1.15;
    letter-spacing: 1.25px;
    white-space: nowrap;
  }

  .benefit-pro h3 {
    position: relative;
    z-index: 2;
    margin-bottom: 10px;
    font-size: 18px;
    line-height: 1.18;
  }

  .benefit-pro > p {
    position: relative;
    z-index: 2;
    font-size: 14px;
    line-height: 1.58;
  }

  .benefit-pro__result {
    position: relative;
    z-index: 2;
  }
}
