/* Abertura preservada da versão anterior. */
@media (max-width: 1024px), (max-width: 1366px) and (pointer: coarse) {
  /* Abertura: a mesma ilustração e a mesma transformação, em composição vertical. */
  .abertura { height: 280svh; }
  .ab-scene-svg { top: auto; bottom: 5%; height: 55%; width: 100%; transform: none; }
  .ab-question { top: 7%; left: 6%; max-width: 88%; padding: 12px 0; font-size: min(5.8vw, 32px); }
  .ab-question-line { white-space: nowrap; }
  .ab-question em { display: inline-block; margin-top: 0; font-size: 3em; }
  .ab-question-cloud { left: -6%; top: 50%; width: 112%; height: auto; object-fit: contain; translate: 0 -50%; }
  .ab-logo-svg { top: 3%; left: 25%; right: auto; width: 50%; height: 25%; }
  .ab-final-copy { top: 32%; left: 7%; width: 86%; max-width: 620px; transform: none; }
  .ab-final-copy h2 { font-size: clamp(24px, 4.5vw, 38px); line-height: 1.18; }
  .ab-school, .ab-ages { font-size: 14px; line-height: 1.6; white-space: normal; }
  .ab-ages { margin: 4px 0 20px; }
  .ab-actions { display: flex; flex-direction: column; align-items: stretch; gap: 10px; }
  .ab-button { min-height: 48px; padding: 13px 18px; font-size: 14px; }

  @media (min-width: 600px) {
    .ab-final-copy { left: 12%; width: 76%; }
    .ab-actions { flex-direction: row; flex-wrap: wrap; }
    .ab-button { flex: 1; }
  }
  @media (max-height: 540px) {
    .abertura { height: auto; }
    .ab-stage { height: auto; min-height: 100svh; padding: 32px 6%; display: grid; grid-template-columns: 30% 1fr; gap: 32px; }
    .ab-scene-svg, .ab-question { display: none; }
    .ab-logo-svg { position: relative; inset: auto; width: 100%; height: 230px; }
    .ab-final-copy { position: relative; inset: auto; width: 100%; }
    .ab-final-copy h2 { font-size: 24px; }
    .ab-school, .ab-ages { font-size: 13px; }
    .ab-actions { flex-direction: row; }
    .ab-button { font-size: 12px; padding-inline: 12px; }
  }
}

/* The mobile storyboard retains the original pinned scenes and handwritten titles. */
@media (max-width: 1024px), (max-width: 1366px) and (pointer: coarse) {
  @media (prefers-reduced-motion: no-preference) {
    .ac-scene, .is-motion .stage { position: sticky; top: 0; height: 100svh; overflow: hidden; }
    .ac-content { grid-template-columns: 1fr; grid-template-rows: 34% 66%; }
    .ac-story-intro { grid-column: 1; grid-row: 1; padding: 24px 22px 0; align-content: center; }
    .ac-story-stage { grid-column: 1; grid-row: 2; }
    .ac-title-panel :is(h1,h2) { font-size: clamp(18px,3.1vw,28px); line-height: 1.15; white-space: normal; }
    .ac-title-panel :is(h1,h2) span { white-space: normal; }
    .ac-title-panel :is(h1,h2) em { display: block; margin: 9px 0 16px; font-size: clamp(64px,12vw,100px); line-height: .8; }
    .ac-intro-description, .ac-curiosity-intro .ac-intro-description { font-size: clamp(13px,1.9vw,17px); line-height: 1.6; margin-top: 6px; max-width: 550px; }
    .ac-story-stage :is(.ac-photo,.ac-curiosity-card) { height: min(55svh,85%); max-width: 52%; object-fit: contain; }
    .ac-story-stage img:nth-child(3n+1) { --x:31%; --y:53%; --angle:-8deg; }
    .ac-story-stage img:nth-child(3n+2) { --x:50%; --y:49%; --angle:6deg; }
    .ac-story-stage img:nth-child(3n) { --x:69%; --y:53%; --angle:-5deg; }
    .ac-scene::before { background: linear-gradient(180deg,rgba(25,28,25,.82),rgba(25,28,25,.48)); }
    .is-motion .canvas[data-layout=compact] { --goal-size: 180px; }
    .is-motion .canvas[data-layout=compact] .title-row { gap: 10px; }
    .is-motion .canvas[data-layout=compact] .title-rule { min-width: 12px; max-width: 90px; }
    .is-motion .canvas[data-layout=compact] :is(.chapter-title,.opening h1.chapter-title) { width: auto; max-width: calc(100% - 44px); column-gap: 10px; row-gap: 3px; }
    .is-motion .canvas[data-layout=compact] .chapter-title .title-label { flex-shrink: 1; white-space: normal; font-size: clamp(14px,2.7vw,22px); line-height: 1.3; }
    .is-motion .canvas[data-layout=compact] .chapter-title .title-script { flex-shrink: 1; white-space: normal; font-size: clamp(60px,18vw,108px); line-height: .95; margin: 0; }
    .is-motion .canvas[data-layout=compact] .axis { padding: 14px 9px; border-width: 1.3px; border-radius: 0 27px 0 27px; }
    .is-motion .canvas[data-layout=compact] .axis h2 { font-size: clamp(12px,2.1vw,17px); line-height: 1.45; letter-spacing: -.025em; }
    .is-motion .canvas[data-layout=compact] .bilingual-content { width: min(720px,calc(100% - 20px)); }
    .is-motion .canvas[data-layout=compact] .bilingual-content h2 { font-size: clamp(24px,4.2vw,38px); line-height: 1.35; }
    .is-motion .canvas[data-layout=compact] .bilingual-content h2 em { font-size: clamp(76px,15vw,130px); line-height: 1; margin-top: 15px; }
    .is-motion .canvas[data-layout=compact] .experiences-heading { height: auto; }
    .is-motion .canvas[data-layout=compact] .experience { font-size: clamp(14px,2.1vw,19px); line-height: 1.3; justify-content: center; }
    .is-motion .canvas[data-layout=compact] .experience[data-experience] { font-size: clamp(14px,2.1vw,19px); }
    .is-motion .canvas[data-layout=compact] .experience[data-experience] span { white-space: normal; }
    .is-motion .canvas[data-layout=compact] .ods-heading .chapter-title .title-script { font-size: clamp(58px,16vw,100px); }
    .is-motion .canvas[data-layout=compact] .ods-heading .ods-context { position: static; max-width: 90%; margin: 14px auto 0; font-size: clamp(11px,1.9vw,16px); line-height: 1.6; }
    .is-motion .canvas[data-layout=compact] .carousel-track { gap: 16px; padding: 0; }
    .is-motion .canvas[data-layout=compact] .sdg { flex-basis: var(--goal-size); height: var(--goal-size); padding: 12px 10px; }
    .is-motion .canvas[data-layout=compact] .sdg-number { font-size: clamp(30px,6vw,43px); }
    .is-motion .canvas[data-layout=compact] .sdg h3 { font-size: clamp(12px,2.4vw,16px); line-height: 1.15; }
    .is-motion .canvas[data-layout=compact] .testimonial { height: auto; min-height: 0; padding: 30px 25px; }
    .is-motion .canvas[data-layout=compact] .testimonial blockquote { font-size: clamp(18px,2.5vw,22px); line-height: 1.6; }
    .is-motion .canvas[data-layout=compact] .testimonial figcaption { font-size: clamp(12px,1.8vw,16px); line-height: 1.6; margin-top: 22px; }
    .is-motion .canvas[data-layout=compact] .edu-intro .edu-opening-content { max-width: 700px; padding: 0 16px; }
    .is-motion .canvas[data-layout=compact] .edu-intro .edu-opening-title { white-space: normal; font-size: clamp(20px,3.8vw,32px); line-height: 1.4; }
    .is-motion .canvas[data-layout=compact] .edu-intro .edu-opening-title em { display: block; font-size: 3.2em; margin: 6px 0 20px; }
    .is-motion .canvas[data-layout=compact] .edu-intro .edu-opening-answer { font-size: clamp(15px,2.3vw,20px); line-height: 1.6; }
    .is-motion .canvas[data-layout=compact] .edu-inner { width: 100%; height: 100%; }
    .is-motion .canvas[data-layout=compact] .edu-heading { font-size: clamp(14px,2.1vw,20px); line-height: 1.5; letter-spacing: .1em; }
    .is-motion .canvas[data-layout=compact] .edu-heading.edu-hand { font-size: clamp(62px,13vw,96px); line-height: 1; letter-spacing: 0; }
    .is-motion .canvas[data-layout=compact] .edu-cards { top: 0; left: 0; width: 100%; display: block; max-width: none; margin: 0; }
    .is-motion .canvas[data-layout=compact] .edu-card { position: absolute; left: 0; top: 0; }
    .is-motion .canvas[data-layout=compact] .edu-card img { height: clamp(95px,21svh,230px); aspect-ratio: auto; object-fit: cover; object-position: center 25%; }
    .is-motion .canvas[data-layout=compact] .edu-info { width: 94%; min-height: 0; padding: 12px 9px 15px; margin: -12px auto 0; }
    .is-motion .canvas[data-layout=compact] .edu-info h3 { font-size: clamp(11px,1.7vw,15px); line-height: 1.5; letter-spacing: .08em; margin-bottom: 9px; }
    .is-motion .canvas[data-layout=compact] .edu-info p { font-size: clamp(12px,1.7vw,15px); line-height: 1.6; }
    .is-motion .canvas[data-layout=compact] .edu-founders .edu-card img { height: clamp(120px,25svh,260px); }
    .is-motion .canvas[data-layout=compact] .edu-founders .edu-info { padding: 16px; }
    .is-motion .canvas[data-layout=compact] .edu-founders .edu-info h3 { font-size: clamp(13px,1.7vw,16px); }
    .is-motion .canvas[data-layout=compact] .edu-founders .edu-info p { font-size: clamp(14px,1.7vw,16px); }
    #convite .cv-title-row { width: calc(100% - 32px); gap: 12px; }
    #convite .cv-title-row h2 { flex-wrap: wrap; justify-content: center; column-gap: 10px; row-gap: 0; }
    #convite .cv-title-row small { font-size: clamp(16px,2.6vw,24px); }
    #convite .cv-title-row em { font-size: clamp(74px,16vw,110px); }
    #convite .cv-cards { inset: 27% 0 12%; }
    #convite .cv-card { width: min(79vw,700px); height: min(46svh,500px); }
    #convite .cv-gallery-dots { bottom: 4%; width: 94%; gap: 0; }
    #convite .cv-gallery-dots button { width: clamp(21px,3.5vw,29px); height: 44px; }
    #convite .cv-place { padding-inline: 20px; }
    #convite .cv-place h2 { flex-wrap: wrap; white-space: normal; font-size: clamp(20px,3.5vw,28px); }
    #convite .cv-place h2 em { font-size: clamp(72px,15vw,110px); }
    #convite .cv-place .cv-address { font-size: clamp(14px,2vw,18px); white-space: normal; line-height: 1.7; }
    #convite .cv-contact { padding: 14px 20px; align-items: safe center; }
    #convite .cv-contact-inner { grid-template-columns: 1fr; width: min(600px,100%); gap: 18px; }
    #convite .cv-contact-copy { display: flex; align-items: center; gap: 16px; }
    #convite .cv-contact-copy .cv-brand-symbol { width: 52px; flex: 0 0 52px; margin: 0; }
    #convite .cv-contact-copy h2 { font-size: clamp(18px,3vw,28px); line-height: 1.3; margin: 0; }
    #convite .cv-contact-title-first, #convite .cv-contact-title-second { white-space: normal; }
    #convite .cv-contact-title-second { flex-wrap: wrap; gap: 7px; }
    #convite .cv-contact-title-second .cv-brand-word img { width: clamp(115px,27vw,170px); }
    #convite .cv-contact form { padding: 22px; border-radius: 22px; }
    #convite .cv-contact form h3 { font-size: 21px; margin-bottom: 8px; }
    #convite .cv-contact form > p { font-size: 13px; line-height: 1.5; }
    #convite .cv-contact form label { margin-top: 14px; font-size: 11px; }
    #convite .cv-contact form input { font-size: 16px; min-height: 44px; padding: 9px 0; }
    #convite .cv-contact form button { min-height: 48px; margin-top: 18px; padding: 14px 18px; font-size: 13px; }
    #convite .cv-contact .cv-form-note { font-size: 11px; margin-top: 12px; }
    @media (min-width: 600px) and (min-height: 700px) {
      .ac-content { grid-template-columns: 1fr 1fr; grid-template-rows: 100%; }
      .ac-story-intro { grid-column: 1; grid-row: 1; padding: 32px; }
      .ac-story-stage { grid-column: 2; grid-row: 1; }
      .ac-title-panel :is(h1,h2) { font-size: clamp(22px,2.8vw,34px); }
      .ac-title-panel :is(h1,h2) em { font-size: clamp(74px,10vw,130px); }
      .ac-story-stage :is(.ac-photo,.ac-curiosity-card) { height: min(64svh,80%); max-width: 65%; }
      .ac-story-stage img:nth-child(3n+1) { --x:25%; }
      .ac-story-stage img:nth-child(3n) { --x:75%; }
    }
    @media (max-height: 620px) {
      .ac-content { grid-template-rows: 36% 64%; }
      .ac-story-intro { padding: 12px 20px 0; }
      .ac-title-panel :is(h1,h2) { font-size: 17px; }
      .ac-title-panel :is(h1,h2) em { font-size: 55px; margin: 4px 0 10px; }
      .ac-intro-description, .ac-curiosity-intro .ac-intro-description { font-size: 12px; line-height: 1.45; }
      .is-motion .canvas[data-layout=compact] .edu-card img { height: 110px; }
      .is-motion .canvas[data-layout=compact] .edu-founders .edu-card img { height: 125px; }
      #convite .cv-contact { padding: 10px 16px; }
      #convite .cv-contact-inner { gap: 10px; }
      #convite .cv-contact-copy .cv-brand-symbol { width: 42px; flex-basis: 42px; }
      #convite .cv-contact-copy h2 { font-size: 17px; }
      #convite .cv-contact form { padding: 16px; }
      #convite .cv-contact form h3 { font-size: 18px; margin-bottom: 5px; }
      #convite .cv-contact form > p { font-size: 12px; }
      #convite .cv-contact form label { margin-top: 9px; }
      #convite .cv-contact form button { margin-top: 12px; }
      #convite .cv-contact .cv-form-note { margin-top: 8px; font-size: 10px; }
    }
    @media (max-height: 500px) and (min-width: 600px) {
      .ac-content { grid-template-columns: 1fr 1fr; grid-template-rows: 100%; }
      .ac-story-intro { grid-column: 1; grid-row: 1; padding: 20px; }
      .ac-story-stage { grid-column: 2; grid-row: 1; }
      .ac-story-stage :is(.ac-photo,.ac-curiosity-card) { height: 78%; max-width: 58%; }
      .is-motion .canvas[data-layout=compact] .chapter-title .title-script { font-size: 68px; }
      .is-motion .canvas[data-layout=compact] .chapter-title .title-label { font-size: 16px; }
      .is-motion .canvas[data-layout=compact] .testimonial { padding: 20px; }
      .is-motion .canvas[data-layout=compact] .testimonial blockquote { font-size: 16px; line-height: 1.45; }
      .is-motion .canvas[data-layout=compact] .testimonial figcaption { font-size: 11px; line-height: 1.4; margin-top: 15px; }
      .is-motion .canvas[data-layout=compact] .edu-card img { height: 84px; }
      .is-motion .canvas[data-layout=compact] .edu-info { padding: 8px; }
      .is-motion .canvas[data-layout=compact] .edu-info :is(h3,p) { font-size: 12px; line-height: 1.4; }
      .is-motion .canvas[data-layout=compact] .edu-founders .edu-card { display: grid; grid-template-columns: 32% 68%; align-items: center; }
      .is-motion .canvas[data-layout=compact] .edu-founders .edu-card img { height: 180px; }
      .is-motion .canvas[data-layout=compact] .edu-founders .edu-info { width: 100%; margin: 0 0 0 -10px; padding: 14px; }
      #convite .cv-title-row em { font-size: 74px; }
      #convite .cv-card { height: 49svh; }
      #convite .cv-contact-inner { grid-template-columns: 36% 1fr; width: min(1000px,100%); gap: 24px; }
      #convite .cv-contact-copy { flex-direction: column; align-items: flex-start; }
      #convite .cv-contact form { max-height: calc(100svh - 24px); overflow-y: auto; overscroll-behavior-y: contain; }
    }
  }
  @media (prefers-reduced-motion: reduce) {
    .abertura { height: auto; }
    .ab-stage { display: flex; height: auto; min-height: 0; padding: 40px 7%; }
    .ab-logo-svg { position: relative; inset: auto; width: min(280px,65vw); height: 240px; }
    .ab-final-copy { position: relative; inset: auto; width: 100%; transform: none; }
    .ac-title-panel :is(h1,h2) { white-space: normal; }
    .ac-title-panel :is(h1,h2) span { white-space: normal; }
  }
}
@media (max-width: 1024px) and (prefers-reduced-motion: no-preference), (max-width: 1366px) and (pointer: coarse) and (prefers-reduced-motion: no-preference) {
  .is-motion .canvas[data-layout=compact] .edu-info h3 { font-size: clamp(12px,1.7vw,15px); }
  .is-motion .canvas[data-layout=compact] .edu-info p { font-size: clamp(13px,1.7vw,15px); }
  @media (max-width: 599px) {
    .is-motion .canvas[data-layout=compact] .experiences-heading .chapter-title { flex-direction: column; align-items: center; }
    .is-motion .canvas[data-layout=compact] .experiences-heading .chapter-title .title-script { line-height: .85; }
  }
}
@media (max-width: 1024px) and (prefers-reduced-motion: no-preference), (max-width: 1366px) and (pointer: coarse) and (prefers-reduced-motion: no-preference) {
  .is-motion .canvas[data-layout=compact] .experience-line,
  .is-motion .canvas[data-layout=compact] .experience { translate: none; }
}
/* Accessible reading fallback is used only without scripting or with reduced motion. */
html:not(.js) .ac-journey { height: auto; }
html:not(.js) .ac-scene, html:not(.js) .ac-content { position: relative; height: auto; min-height: 0; }
html:not(.js) .ac-content { display: block; }
html:not(.js) .ac-story-intro { display: block; padding: 32px 24px; }
html:not(.js) .ac-title-panel { opacity: 1; visibility: visible; margin-bottom: 30px; }
html:not(.js) .ac-title-panel :is(h1,h2), html:not(.js) .ac-title-panel :is(h1,h2) span { white-space: normal; }
html:not(.js) .ac-story-stage { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; padding: 24px; }
html:not(.js) .ac-story-stage :is(.ac-photo,.ac-curiosity-card) { position: static; width: 100%; height: auto; max-width: none; transform: none; opacity: 1; }
html:not(.js) #convite :is(.cv-journey,.cv-stage) { position: relative; height: auto; overflow: visible; }
html:not(.js) #convite :is(.cv-intro,.cv-gallery,.cv-place,.cv-contact) { position: relative; inset: auto; visibility: visible; opacity: 1; pointer-events: auto; transform: none; }
html:not(.js) #convite .cv-intro, html:not(.js) #convite .cv-place { padding: 50px 24px; }
html:not(.js) #convite .cv-cards { position: relative; inset: auto; display: grid; grid-template-columns: repeat(auto-fit,minmax(240px,1fr)); gap: 16px; padding: 24px; }
html:not(.js) #convite .cv-card { position: relative; inset: auto; width: 100%; height: 280px; }
html:not(.js) #convite :is(.gallery-controls,.cv-gallery-dots) { display: none; }
html:not(.js) .edu-card { opacity: 1; transform: none; }
@media (max-width: 1024px) and (prefers-reduced-motion: no-preference), (max-width: 1366px) and (pointer: coarse) and (prefers-reduced-motion: no-preference) {
  .is-motion .canvas[data-layout=compact] .edu-cards.edu-flow { display: block; max-width: none; overflow: hidden; }
  .is-motion .canvas[data-layout=compact] .edu-flow-track { display: flex; flex-direction: column; align-items: center; gap: 28px; width: 100%; height: auto; }
  .is-motion .canvas[data-layout=compact] .edu-cards.edu-flow .edu-card { display: block; position: relative; inset: auto; flex: 0 0 auto; width: var(--edu-card-width); transform: none !important; opacity: 1 !important; visibility: inherit !important; }
  .is-motion .canvas[data-layout=compact] .edu-cards.edu-flow .edu-card img { width: 100%; height: clamp(120px,30svh,300px); object-fit: cover; object-position: center 25%; }
  .is-motion .canvas[data-layout=compact] .edu-cards.edu-flow .edu-info { width: 94%; margin: -12px auto 0; padding: 16px; }
  .is-motion .canvas[data-layout=compact] .edu-cards.edu-flow .edu-info h3 { font-size: clamp(13px,1.7vw,16px); }
  .is-motion .canvas[data-layout=compact] .edu-cards.edu-flow .edu-info p { font-size: clamp(14px,1.7vw,16px); }
}
@media (max-width: 599px) and (prefers-reduced-motion: no-preference), (max-width: 1024px) and (max-height: 600px) and (pointer: coarse) and (prefers-reduced-motion: no-preference) {
  .ac-story-stage :is(.ac-photo,.ac-curiosity-card) {
    transform: translate(calc(-50% + var(--corner-x,0px)),calc(-50% + var(--corner-y,0px))) rotate(calc(var(--angle) + var(--corner-turn,0deg)));
  }
}

@media (max-width: 599px) and (prefers-reduced-motion: no-preference), (max-width: 1024px) and (max-height: 600px) and (pointer: coarse) and (prefers-reduced-motion: no-preference) {
  .is-motion .canvas[data-layout=compact] .sdg-copy { display: none; }
  .is-motion .canvas[data-layout=compact] .carousel { touch-action: pan-y; }
  .is-motion .canvas[data-layout=compact] .carousel-window { cursor: grab; }
}
@media (max-width: 599px) and (prefers-reduced-motion: no-preference), (max-width: 1024px) and (max-height: 600px) and (pointer: coarse) and (prefers-reduced-motion: no-preference) {
  .is-motion .canvas[data-layout=compact] .sdg { min-width: 0; }
  .is-motion .canvas[data-layout=compact] .sdg h3 { min-width: 0; font-size: clamp(11px,calc(var(--goal-size) * .06),16px); overflow-wrap: anywhere; }
  .is-motion .canvas[data-layout=compact] .sdg-icon { height: 50%; bottom: 5%; }
}

/* Abertura vertical: composição original 1080 × 1920 dos arquivos celular.vectorcraft. */
@media (max-width: 767px) and (orientation: portrait) and (prefers-reduced-motion: no-preference) {
  .abertura { height: 400svh; }
  .ab-stage { position: sticky; top: 0; height: 100svh; min-height: 0; box-sizing: border-box; display: grid; grid-template-columns: minmax(0,1fr); grid-template-rows: minmax(0,1fr) auto; place-items: center; overflow: hidden; padding: clamp(20px,4svh,40px) 7% max(20px,env(safe-area-inset-bottom)); gap: clamp(16px,2.5svh,24px); }
  .ab-scene-svg { position: absolute; inset: 0; display: block; width: 100%; height: 100%; transform: none; }
  .ab-question { display: block; }
  .ab-logo-svg { position: relative; inset: auto; grid-row: 1; width: min(70vw,100%); height: 100%; max-height: 33svh; min-height: 0; }
  .ab-final-copy { position: relative; inset: auto; grid-row: 2; width: 100%; transform: none; border-top: 1px solid #b7c6bf; padding-top: clamp(16px,2.5svh,24px); }
  .ab-actions { flex-direction: column; }
}
@media (max-width: 359px) and (max-height: 650px) and (orientation: portrait) and (prefers-reduced-motion: no-preference) {
  .ab-final-copy h2 { font-size: 22px; margin-bottom: 10px; }
}
@media (max-width: 767px) and (max-height: 540px) and (orientation: portrait) and (prefers-reduced-motion: no-preference) {
  .ab-final-copy { padding-top: 16px; }
  .ab-final-copy h2 { font-size: 22px; margin-bottom: 12px; }
  .ab-school, .ab-ages { font-size: 12px; }
  .ab-ages { margin: 4px 0 12px; }
  .ab-button { min-height: 44px; font-size: 12px; padding: 10px 12px; }
}

@media (max-height: 540px) and (max-width: 1024px) and (prefers-reduced-motion: no-preference), (max-height: 540px) and (max-width: 1366px) and (pointer: coarse) and (prefers-reduced-motion: no-preference) {
  .is-motion .canvas[data-layout=compact] .axis { padding: 8px; }
  .is-motion .canvas[data-layout=compact] .axis h2 { font-size: 11px; line-height: 1.3; }
}

/* Depoimentos em fluxo contínuo, recortados abaixo do título fixo. */
@media (max-width: 1024px) and (prefers-reduced-motion: no-preference), (max-width: 1366px) and (pointer: coarse) and (prefers-reduced-motion: no-preference) {
  .is-motion .canvas[data-layout=compact] .families-layer { overflow: hidden; }
  .is-motion .canvas[data-layout=compact] .testimonials { position: relative; inset: auto; display: flex; flex-direction: column; align-items: center; gap: 24px; width: 100%; height: auto; }
  .is-motion .canvas[data-layout=compact] .testimonial { position: relative; left: auto; top: auto; flex: 0 0 auto; margin: 0; }
}

/* Atividades legíveis, com espaço reservado para a barra de contato. */
@media (max-width: 599px) and (prefers-reduced-motion: no-preference) {
  .is-motion .canvas[data-layout=compact] .experiences-heading .chapter-title .title-label { font-size: 16px; line-height: 1.3; }
  .is-motion .canvas[data-layout=compact] .experiences-heading .chapter-title .title-script { font-size: 88px; line-height: .85; }
  .is-motion .canvas[data-layout=compact] .experience[data-experience] { font-size: 18px; font-weight: 500; line-height: 1.3; color: #303033; text-transform: none; }
}
