/* LDA HC v3.4 — ritmo mobile, títulos estáveis e hero compacta */

/* Evita quebra desnecessária dos preços na grade desktop. */
@media (min-width:1051px){
  .lda-hc-v3__plans .lda-hc-v3__price{
    white-space:nowrap;
    font-size:clamp(2.05rem,2.55vw,2.38rem)!important;
  }
}

@media (max-width:820px){
  /* O cabeçalho deve ocupar sua posição final antes da entrada dos cards. */
  .lda-hc-v3__section-head,
  .lda-hc-v3__section-head.lda-hc-v3__reveal{
    position:relative;
    z-index:4;
    display:block;
    width:100%;
    max-width:680px;
    height:auto!important;
    min-height:0!important;
    margin:0 auto 38px!important;
    padding:0 8px;
    opacity:1!important;
    transform:none!important;
    filter:none!important;
    transition:none!important;
    will-change:auto!important;
  }
  .lda-hc-v3__section-title{
    display:block;
    width:100%;
    margin:0!important;
    font-size:clamp(1.85rem,7.4vw,2.55rem)!important;
    line-height:1.14!important;
    letter-spacing:-.035em!important;
    text-wrap:balance;
    overflow-wrap:normal;
  }
  .lda-hc-v3__section-head .lda-hc-v3__lead,
  .lda-hc-v3__section-head > p{
    max-width:34rem;
    margin:13px auto 0!important;
    font-size:clamp(.92rem,3.7vw,1.05rem)!important;
    line-height:1.55!important;
  }
  .lda-hc-v3__section-head + .lda-hc-v3__four-grid,
  .lda-hc-v3__section-head + .lda-hc-v3__six-grid,
  .lda-hc-v3__section-head + .lda-hc-v3__quote-grid,
  .lda-hc-v3__section-head + .lda-hc-v3__visual-grid,
  .lda-hc-v3__section-head + .lda-hc-v3__bonus-grid,
  .lda-hc-v3__section-head + .lda-hc-v3__results-grid,
  .lda-hc-v3__section-head + .lda-hc-v3__stats,
  .lda-hc-v3__section-head + .lda-hc-v3__plans,
  .lda-hc-v3__section-head + .lda-hc-v3__faq,
  .lda-hc-v3__section-head + .lda-hc-v3__table-wrap,
  .lda-hc-v3__section-head + .lda-hc-v3__comparison-mobile{
    position:relative;
    z-index:1;
    clear:both;
    margin-top:0!important;
  }

  /* No mobile, movimento vertical não pode invadir o elemento seguinte. */
  .lda-hc-v3__stagger-grid > .lda-hc-v3__reveal,
  .lda-hc-v3__stagger-grid > .lda-hc-v3__reveal.is-visible,
  .lda-hc-v3__hero .lda-hc-v3__reveal,
  .lda-hc-v3__hero .lda-hc-v3__reveal.is-visible{
    transform:none!important;
    filter:none!important;
    will-change:opacity!important;
  }
  .lda-hc-v3__stagger-grid > .lda-hc-v3__reveal{
    transition-property:opacity!important;
    transition-duration:.48s!important;
  }
}

@media (max-width:640px){
  .lda-hc-v3{
    font-size:15px;
  }
  .lda-hc-v3__container{
    width:min(100% - 24px,1180px)!important;
  }
  .lda-hc-v3__section{
    padding:64px 0!important;
  }
  .lda-hc-v3__section-head,
  .lda-hc-v3__section-head.lda-hc-v3__reveal{
    margin-bottom:30px!important;
    padding-inline:4px;
  }
  .lda-hc-v3__section-title{
    font-size:clamp(1.72rem,7.15vw,2.12rem)!important;
    line-height:1.17!important;
    letter-spacing:-.032em!important;
  }
  .lda-hc-v3__section-head .lda-hc-v3__lead,
  .lda-hc-v3__section-head > p{
    margin-top:10px!important;
    font-size:.9rem!important;
    line-height:1.48!important;
  }

  /* Hero: uma única composição, menos altura morta e escala coerente. */
  .lda-hc-v3__hero{
    padding:28px 0 46px!important;
    background:
      radial-gradient(circle at 8% 7%,rgba(244,200,182,.26),transparent 28%),
      radial-gradient(circle at 94% 22%,rgba(82,100,77,.10),transparent 28%),
      linear-gradient(180deg,#fffaf5 0%,#f8eee7 100%)!important;
  }
  .lda-hc-v3__hero:before{
    width:260px!important;
    height:260px!important;
    right:-190px!important;
    bottom:-155px!important;
    opacity:.55;
  }
  .lda-hc-v3__hero .lda-hc-v3__container{
    width:min(100% - 22px,1180px)!important;
  }
  .lda-hc-v3__hero-headline{
    max-width:400px!important;
    margin:0 auto 21px!important;
    padding:0 3px;
  }
  .lda-hc-v3__hero-headline .lda-hc-v3__title{
    max-width:390px!important;
    font-size:clamp(1.88rem,8.65vw,2.55rem)!important;
    line-height:1.075!important;
    letter-spacing:-.046em!important;
    text-wrap:balance;
  }
  .lda-hc-v3__hero-tagline{
    display:flex!important;
    width:fit-content;
    max-width:100%;
    margin:13px auto 0!important;
    padding:8px 11px!important;
    border-radius:14px!important;
    font-size:.75rem!important;
    line-height:1.38!important;
    letter-spacing:-.005em;
    text-align:center;
  }
  .lda-hc-v3__hero-grid{
    width:100%!important;
    gap:18px!important;
  }
  .lda-hc-v3__hero-copy{
    width:100%;
    max-width:410px;
    margin-inline:auto;
    padding:23px 19px 21px!important;
    border-radius:22px!important;
    text-align:center!important;
    box-shadow:0 16px 42px rgba(42,33,28,.075),inset 0 1px 0 rgba(255,255,255,.92)!important;
    backdrop-filter:none!important;
  }
  .lda-hc-v3__hero-copy:before{
    left:50%!important;
    width:62px!important;
    transform:translateX(-50%)!important;
  }
  .lda-hc-v3__hero-copy h2{
    max-width:350px!important;
    margin-inline:auto!important;
    font-size:clamp(1.44rem,6.15vw,1.88rem)!important;
    line-height:1.14!important;
    letter-spacing:-.035em!important;
  }
  .lda-hc-v3__hero-copy > p:not(.lda-hc-v3__hero-note){
    max-width:350px!important;
    margin:13px auto 18px!important;
    font-size:.96rem!important;
    line-height:1.58!important;
  }
  .lda-hc-v3__hero-copy .lda-hc-v3__btn{
    width:100%!important;
    min-width:0!important;
    min-height:54px;
    padding:13px 16px!important;
    font-size:.92rem!important;
    line-height:1.22!important;
  }
  .lda-hc-v3__hero-note{
    display:flex!important;
    width:fit-content;
    max-width:100%;
    margin:12px auto 0!important;
    padding:6px 10px!important;
    font-size:.74rem!important;
    line-height:1.35!important;
    text-align:center;
  }
  .lda-hc-v3__video-card{
    width:min(100%,278px)!important;
    max-width:278px!important;
    justify-self:center!important;
    margin-inline:auto!important;
    padding:8px!important;
    border-radius:22px!important;
    box-shadow:0 18px 46px rgba(42,33,28,.12)!important;
  }
  .lda-hc-v3__video-card:before,
  .lda-hc-v3__video-card:after{
    display:none!important;
  }
  .lda-hc-v3__video{
    border-radius:15px!important;
  }

  /* Respiro consistente entre títulos e conteúdo nas seções vistas nos prints. */
  #education .lda-hc-v3__section-head,
  #learning .lda-hc-v3__section-head,
  #testimonials .lda-hc-v3__section-head,
  #visual-testimonials .lda-hc-v3__section-head,
  #results .lda-hc-v3__section-head{
    margin-bottom:32px!important;
  }
  #problem .lda-hc-v3__section-head{
    margin-bottom:25px!important;
  }
  #problem{
    padding:60px 0!important;
  }
  #problem .lda-hc-v3__section-title{
    padding-bottom:14px!important;
  }

  /* Cards e textos não criam largura ou altura fantasma. */
  .lda-hc-v3__card,
  .lda-hc-v3__feature-card,
  .lda-hc-v3__learning-card,
  .lda-hc-v3__quote-card,
  .lda-hc-v3__visual-card,
  .lda-hc-v3__result,
  .lda-hc-v3__plan{
    min-width:0;
  }
  .lda-hc-v3__card h3,
  .lda-hc-v3__card p,
  .lda-hc-v3__visual-copy,
  .lda-hc-v3__result figcaption{
    overflow-wrap:break-word;
  }
}
