/* Mobile readability corrections preserve the interactive scroll timeline. */
@media (max-width: 760px) {
  :root { --cares-container: min(calc(100% - 40px), 680px); }
  html { scroll-padding-top: 64px; }
  .site-header { min-height: 54px; padding: 6px 16px; gap: 12px; }
  .name-text { font-size: .8125rem; }
  .contact-link { position: relative; min-height: 34px; display: inline-flex; align-items: center; padding: 6px 11px; font-size: .78125rem; border-color: #5f625138; }
  .contact-link::before { content: ''; position: absolute; inset: -5px 0; }
  .contact-link:hover { background: #5f62510a; color: var(--ink); border-color: #5f625166; }

  /* Keep the original sticky timeline, photo motion and kinetic text. */
  .about-stage-shell { width: calc(100% - 40px); }
  .js-motion:not(.static-motion) .about-stage-shell { padding-block: 64px 20px; }
  .js-motion:not(.static-motion) .about-stage-grid {
    grid-template-rows: min(38svh, 350px) minmax(0, 1fr);
    gap: 20px;
  }
  .js-motion:not(.static-motion) .about-visual-actor {
    width: min(92%, 340px);
    height: min(38svh, 350px);
  }
  .arch-photo--portrait { object-position: 50% 25%; }
  .cover-line--name { padding-left: 0; }
  .credential-crp + .credential-sep { display: none; }
  .cover-lead, .manifesto-body, .reel-card-desc, .triptych-desc { font-size: 1rem; line-height: 1.5; }
  .manifesto-title { line-height: 1.18; }
  .reel-heading { line-height: 1.18; }
  .reel-card-title { line-height: 1.14; }
  .primary-cta { white-space: normal; min-height: 48px; padding: 12px 16px; text-align: center; }
  .closing-meta { line-height: 1.5; }

  /* Each scene moves as a unit: no clipped last words or overlapping text. */
  .js-motion:not(.static-motion) .cover-line-inner,
  .js-motion:not(.static-motion) .about-credential,
  .js-motion:not(.static-motion) .credential-rule,
  .js-motion:not(.static-motion) .kinetic-beat,
  .js-motion:not(.static-motion) .manifesto-line,
  .js-motion:not(.static-motion) .manifesto-body,
  .js-motion:not(.static-motion) .triptych-heading,
  .js-motion:not(.static-motion) .pause-word,
  .js-motion:not(.static-motion) .pause-text { opacity: 1; transform: none; will-change: auto; }
  .js-motion:not(.static-motion) .cover-line .cover-line-inner { opacity: 1; transform: none; }
  .js-motion:not(.static-motion) .about-stage-grid { z-index: 2; }
  .js-motion:not(.static-motion) .about-flight-canvas { z-index: 1; }
  .cover-heading { font-size: clamp(1.8rem, 8.8vw, 2.5rem); line-height: 1.04; }
  .cover-line { overflow: visible; }
  .manifesto-title { font-size: clamp(1.25rem, 5.7vw, 1.6rem); line-height: 1.22; text-wrap: pretty; }
  .js-motion:not(.static-motion) .manifesto-line { display: inline; padding-left: 0; }
  .js-motion:not(.static-motion) .reel-viewport { padding-inline: 0; margin-inline: 0; overflow: visible; mask-image: none; -webkit-mask-image: none; }

  /* Comfortable line lengths, shared gutters and usable touch targets. */
  .cares-title,
  .online-title,
  .thoughts-title,
  .reels-title,
  .faq-title { font-size: clamp(1.875rem, 8.6vw, 2.5rem); line-height: 1.13; letter-spacing: -.035em; }
  .cares-subtitle,
  .online-subtitle,
  .thoughts-subtitle,
  .faq-subtitle { font-size: 1rem; line-height: 1.6; }
  .online-selector-label { font-size: .875rem; white-space: normal; line-height: 1.35; }
  .online-selector { min-width: 0; padding: 10px; gap: 8px; }
  .online-selector-thumb { width: 42px; height: 42px; }
  .online-pillars { grid-template-columns: 1fr; gap: 18px; }
  .online-pillar-title { font-size: 1rem; }
  .online-pillar-desc { font-size: .875rem; line-height: 1.5; }
  .online-cta,
  .thoughts-cta { font-size: 1rem; min-height: 48px; }

  /* Labels may wrap instead of forcing the two-column grid wider. */
  .thoughts-selectors { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .situation-btn { min-width: 0; min-height: 64px; padding: 12px 10px; gap: 8px; flex-direction: row; align-items: center; justify-content: flex-start; }
  .situation-icon { width: 20px; height: 20px; }
  .situation-label { min-width: 0; font-size: .875rem; line-height: 1.35; white-space: normal; overflow-wrap: anywhere; }
  .clipboard-wood { padding: 24px 10px 14px; }
  .clipboard-paper { padding: 32px 14px 20px; }
  .clipboard-doc-title { font-size: .75rem; letter-spacing: .09em; line-height: 1.6; }
  .clipboard-fields { gap: 18px; }
  .board-field-label { font-size: .875rem; color: #5f6251; }
  .board-handwritten,
  .emotion-value { font-size: 1.625rem; line-height: 1.3; overflow-wrap: anywhere; }
  .board-field--situation .board-ruled-area,
  .board-field--thought .board-ruled-area { min-height: 68px; }
  .emotion-row { flex-wrap: wrap; gap: 4px 12px; }
  .emotion-percent { font-size: .875rem; }
  .board-field--reframe { padding: 14px 12px; }
  .board-field--reframe .board-ruled-area { min-height: 160px; }
  .board-reframe-placeholder { position: relative; inset: auto; font-size: .9375rem; color: #5f6251; }
  .board-reframe-placeholder.is-hidden { display: none; }
  .hold-button { padding: 14px 12px; font-size: .9375rem; line-height: 1.4; min-height: 60px; }
  .hold-alt-row { align-items: stretch; gap: 8px; }
  .hold-alt-btn { min-height: 44px; white-space: normal; font-size: .875rem; line-height: 1.5; text-align: left; color: #5f6251; }
  .hold-hint,
  .thoughts-disclaimer { font-size: .875rem; color: #5f6251; line-height: 1.6; }

  .faq-shell { width: min(calc(100% - 40px), 680px); }
  .faq-mascot-stage { width: min(80vw, 300px); }
  .faq-subtitle,
  .faq-mascot-callout { font-size: 1rem; }
  .faq-question-btn { min-height: 48px; font-size: .875rem; line-height: 1.5; }
  .faq-guide-note,
  .faq-privacy-hint { font-size: .875rem; color: #5f6251; }
  .faq-phone-wa-btn { font-size: .875rem; min-height: 44px; }
  .faq-msg { font-size: .9375rem; line-height: 1.6; }
  .together-subtitle { font-size: 1rem; line-height: 1.6; }
  .together-cta { font-size: .9375rem; min-height: 48px; }
  .footer-legal-links a,
  .footer-legal-links button { min-height: 44px; display: inline-flex; align-items: center; font-size: .875rem; }
  .footer-col-list { gap: 2px; }
  .footer-col-list a { min-height: 44px; }
  .privacy-btn { min-height: 44px; }
  .privacy-banner-actions { grid-template-columns: minmax(0, 1fr); }
  .privacy-banner-text,
  .privacy-modal-intro,
  .privacy-cat-desc,
  .privacy-modal-note { font-size: .875rem; line-height: 1.6; }
  .privacy-modal-dialog { min-width: 0; overflow-x: hidden; }
  .privacy-cat-head { flex-wrap: wrap; }
  .privacy-modal-actions { grid-template-columns: minmax(0, 1fr); }
  .privacy-modal-actions .privacy-btn { min-width: 0; min-height: 48px; white-space: normal; line-height: 1.5; }
  .privacy-modal-close { width: 44px; height: 44px; flex: none; }
  .care-hero-intro,
  .care-how-text,
  .care-when-intro,
  .care-signal-text { font-size: 1rem; }
  .care-card-trigger,
  .care-expanded-cta { min-height: 44px; }
  .care-card { height: clamp(480px, 62svh, 520px); }
  .cares-carousel-viewport { height: clamp(510px, 66svh, 550px); }
  .carousel-dot { width: 44px; height: 44px; }
  .legal-table-wrap::before { content: 'Deslize para ver a tabela completa.'; display: block; padding: 12px; font-size: .875rem; color: var(--ink); }
  .reel-modal-dialog { max-height: calc(100svh - 40px); overflow-y: auto; }
  .reel-modal-close { width: 44px; height: 44px; }
  .care-btn-primary,
  .care-btn-secondary { white-space: normal; min-height: 48px; text-align: center; }
}

/* Short screens still need room for both the photo and the active text. */
@media (max-width: 559px) and (max-height: 640px) {
  .js-motion:not(.static-motion) .about-stage-shell {
    padding-block: 64px 20px;
    clip-path: inset(54px -20px var(--mobile-reader-bottom, 20px));
  }
  .js-motion:not(.static-motion) .about-stage-grid {
    grid-template-rows: min(43svh, 280px) minmax(0, 1fr);
    gap: 16px;
    transform: translate3d(0, var(--mobile-reader-pan, 0px), 0);
  }
  .js-motion:not(.static-motion) .about-visual-actor { height: min(43svh, 280px); }
  .manifesto-body { line-height: 1.5; }
}

@media (min-width: 560px) and (max-width: 760px) and (max-height: 640px) {
  .js-motion:not(.static-motion) .about-stage-shell { padding-block: 64px 20px; }
  .js-motion:not(.static-motion) .about-stage-grid { grid-template-columns: minmax(0, .65fr) minmax(0, 1fr); grid-template-rows: minmax(0, 1fr); gap: 20px; align-items: center; }
  .js-motion:not(.static-motion) .about-visual-actor { grid-column: 1; grid-row: 1; width: 100%; height: min(62svh, 280px); }
  .js-motion:not(.static-motion) .scene--cover,
  .js-motion:not(.static-motion) .scene--left,
  .js-motion:not(.static-motion) .scene--right { grid-column: 2; grid-row: 1; align-self: center; }
  .cover-heading { font-size: 1.8rem; }
  .about-credential { margin-top: 10px; padding-top: 8px; }
  .cover-lead { margin-top: 10px; }
  .reel-viewport { margin-top: 12px; }
  .js-motion:not(.static-motion) .reel-viewport { min-height: 170px; }
  .reel-header { padding-bottom: 10px; }
  .triptych-heading { font-size: 1.25rem; }
}

@media (max-width: 350px) and (min-height: 641px) {
  .js-motion:not(.static-motion) .about-stage-grid { grid-template-rows: min(34svh, 300px) minmax(0, 1fr); gap: 16px; }
  .js-motion:not(.static-motion) .about-visual-actor { height: min(34svh, 300px); }
}

/* Decorative redirect arrows add noise to the labels. Carousel controls,
   back buttons and disclosure indicators retain their navigation function. */
.ui-arrow-icon,
.area-directory-arrow,
.footer-credit-arrow,
.faq-question-btn > svg,
.faq-cta-btn > svg,
.faq-phone-wa-btn > svg,
.together-cta > svg { display: none; }
