/* Celular e tablet: leitura confortável sem alterar a composição do desktop. */
@media (max-width: 1050px) {
  .gallery-item img { height: auto; object-fit: contain; }
  .teacher-photos > img:first-child { height: auto; }
  .button { white-space: normal; text-align: center; }
  .button > span, .faq summary > span { flex-shrink: 0; }
  .text-link { overflow-wrap: anywhere; }
  .watch-link, .text-link { min-height: 44px; align-content: center; }
  .faq summary { min-height: 48px; }
  .gallery { align-items: start; }
}

@media (min-width: 761px) and (max-width: 1050px) {
  .header { margin-inline: 20px; padding-inline: 24px; height: 80px; }
  .header nav { gap: 16px; font-size: 14px; }
  .header nav a { min-height: 44px; display: flex; align-items: center; }
  .header nav .nav-enroll { display: none; }
  .header > .button { display: none; }
  .hero { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 32px; padding-block: 48px; min-height: auto; }
  .hero h1 { font-size: clamp(40px, 4.8vw, 50px); }
  .hero h1 br { display: none; }
  .hero .lead { font-size: 17px; line-height: 1.65; }
  .hero-art { height: 400px; min-width: 0; }
  .hero-character { width: 100%; height: 100%; object-fit: contain; max-width: 460px; }
  .art-label, .art-sticker, .art-pencil { display: none; }
  .hero-offer { padding: 20px; }
  .hero-actions > .button { font-size: 16px; }
  .section { padding-block: 72px; }
  .ribbon .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; }
  .ribbon b { display: none; }
  .gallery-heading { align-items: start; gap: 32px; }
  .gallery-heading h2, .intro h2, .teacher h2, .faq h2 { font-size: 38px; }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
  .gallery-item:nth-child(2n) { padding-top: 0; }
  .intro { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .intro-copy { max-width: 640px; }
  .intro h2 br { display: none; }
  .video-shell { width: 100%; max-width: 640px; justify-self: center; }
  .video-frame { aspect-ratio: 4 / 3; }
  .learning-layout { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 28px; }
  .lesson h3 { font-size: 25px; }
  .lesson summary { gap: 10px; }
  .lesson-body { padding-left: 0; }
  .lesson-art { padding: 16px; }
  .lesson-art > img { height: auto; }
  .offer-layout { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .offer-copy { max-width: 640px; }
  .offer-copy > p:not(.eyebrow) { max-width: none; }
  .offer-copy > img { display: none; }
  .offer-card { width: 100%; max-width: 640px; justify-self: center; padding: 32px; }
  .offer-card .button { font-size: 16px; }
  .faq { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .faq h2 br { display: none; }
  .footer { flex-wrap: wrap; }
  .footer .brand img { width: 200px; }
}

@media (max-width: 760px) {
  .hero { padding-top: 32px; }
  .hero h1 { font-size: clamp(32px, 8.5vw, 48px); line-height: 1.12; text-wrap: balance; }
  .hero h1 br { display: none; }
  .hero .eyebrow { font-size: 10px; letter-spacing: .06em; }
  .hero-art { height: clamp(240px, 65vw, 330px); margin-block: 20px; }
  .hero-character { width: min(90%, 340px); height: clamp(240px, 65vw, 330px); object-fit: contain; }
  .hero .lead { text-align: left; max-width: 540px; }
  .hero-actions { max-width: 540px; }
  .hero-actions > .button { font-size: 16px; min-height: 56px; }
  .hero-offer { padding: 18px 20px; }
  .hero-price strong { font-size: 48px; }
  .hero-note { max-width: 440px; justify-self: center; font-size: 13px; line-height: 1.6; }
  .hero .scroll-note { min-height: 44px; margin-top: 12px; font-size: 10px; }
  .section { padding-block: 48px; }
  .section-heading { margin-bottom: 28px; }
  h2, .intro h2, .section-heading h2, .gallery-heading h2, .teacher h2, .faq h2 { font-size: clamp(30px, 7.8vw, 38px); text-wrap: balance; }
  .intro h2 br, .faq h2 br { display: none; }
  .gallery { grid-auto-columns: 84%; padding-bottom: 20px; }
  .gallery-item > span { min-height: 44px; gap: 8px; }
  .gallery-item img { border-radius: 12px; }
  .teacher-photos { margin-right: 0; width: 100%; }
  .video-frame { aspect-ratio: 1.2; }
  .video-caption { font-size: 12px; padding-inline: 10px; }
  .poster-label { letter-spacing: .08em; }
  .lesson h3 { font-size: clamp(21px, 5.6vw, 27px); }
  .lesson-art > img { height: auto; max-height: 320px; }
  .offer-copy h2 { font-size: 36px; }
  .offer-card { padding: 24px 18px; }
  .offer-card .price strong { font-size: clamp(48px, 14vw, 64px); }
  .offer-card .button { font-size: 15px; min-height: 56px; }
  .benefits { font-size: 15px; }
  .checkout-note { font-size: 12px; }
  .guarantee p { font-size: 13px; }
  .footer .brand img { width: min(240px, 100%); }
  .footer { padding-bottom: max(32px, env(safe-area-inset-bottom)); }
  .header nav { max-height: calc(100dvh - 108px); overflow-y: auto; overscroll-behavior: contain; }
  html:not(.enhanced) .header { position: relative; }
}

@media (min-width: 540px) and (max-width: 760px) {
  .wrap, .gallery-section, .intro { padding-inline: 36px; }
  .header { padding-inline: 20px; }
  .gallery { grid-auto-columns: 56%; }
  .testimonial-inner { grid-template-columns: 180px minmax(0, 1fr); gap: 28px; }
  .testimonial figure { width: 100%; }
  .testimonial blockquote { font-size: 26px; }
  .offer-card { max-width: 540px; width: 100%; justify-self: center; padding: 28px; }
}
