/* R284: cada Hero mobile é uma composição única. A área de leitura existe
   dentro da arte; não há painel de texto abaixo ou sobreposição improvisada. */
.mobile-hero-summary { display: none; }

@media (max-width: 760px) {
  .desktop-hero-summary { display: none !important; }
  .mobile-hero-summary { display: inline !important; }

  /* SOBRE */
  .about-page .about-hero {
    display: block !important;
    min-height: 680px !important;
    background: #062f38 url('/assets/sobre-hero-mobile-r280.png') center / cover no-repeat !important;
    border-radius: 0 !important;
  }
  .about-page .about-hero-media { display: none !important; }
  .about-page .about-hero::after { display: none !important; }
  .about-page .about-hero-inner {
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    width: min(64%, 350px) !important;
    min-height: 680px !important;
    margin: 0 !important;
    padding: 42px 0 28px 22px !important;
    background: transparent !important;
  }
  .about-page .about-kicker { font-size: 9px !important; }
  .about-page .about-hero h1 {
    max-width: 100% !important;
    margin: 13px 0 14px !important;
    font-size: clamp(36px, 10.7vw, 47px) !important;
    line-height: .95 !important;
  }
  .about-page .about-lead {
    max-width: 21ch !important;
    font-size: 15px !important;
    line-height: 1.38 !important;
  }
  .about-page .about-actions { margin-top: 18px !important; }

  /* SOLUÇÕES */
  .solutions-page .hero-split,
  .solutions-page .hero-split .hero-visual {
    display: block !important;
    min-height: 700px !important;
    background: #062f38 url('/assets/solucoes-hero-mobile-r280.png') center / cover no-repeat !important;
  }
  .solutions-page .hero-split .hero-mobile-picture { display: none !important; }
  .solutions-page .hero-split .hero-content {
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    width: min(67%, 355px) !important;
    min-height: 700px !important;
    margin: 0 !important;
    padding: 42px 0 24px 22px !important;
    color: #f7f2e6 !important;
    background: transparent !important;
  }
  .solutions-page .hero-split .hero-content .eyebrow {
    max-width: 27ch !important;
    font-size: 9px !important;
    line-height: 1.25 !important;
  }
  .solutions-page .hero-split .hero-content h1 {
    max-width: 100% !important;
    margin: 13px 0 15px !important;
    font-size: clamp(35px, 10.4vw, 46px) !important;
    line-height: .95 !important;
  }
  .solutions-page .hero-split .hero-content > p:not(.muted) {
    max-width: 24ch !important;
    margin: 0 !important;
    font-size: 15px !important;
    line-height: 1.38 !important;
  }
  .solutions-page .hero-split .hero-content .muted { display: none !important; }
  .solutions-page .hero-split .hero-secondary-link { margin-top: 18px !important; }

  /* AGENTES */
  .representatives-page .representatives-hero {
    display: block !important;
    min-height: 700px !important;
    margin-top: 0 !important;
    background: #062f38 url('/assets/representantes-hero-mobile-r280.png') center / cover no-repeat !important;
    border-radius: 0 !important;
  }
  .representatives-page .representatives-hero > .hero-mobile-picture,
  .representatives-page .representatives-hero::after { display: none !important; }
  .representatives-page .representatives-hero .hero-copy {
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    width: min(67%, 350px) !important;
    min-height: 700px !important;
    margin: 0 !important;
    padding: 42px 0 28px 22px !important;
    color: #f7f2e6 !important;
    background: transparent !important;
  }
  .representatives-page .representatives-hero .eyebrow { font-size: 9px !important; }
  .representatives-page .representatives-hero h1 {
    max-width: 100% !important;
    margin: 14px 0 16px !important;
    font-size: clamp(36px, 10.5vw, 47px) !important;
    line-height: .94 !important;
  }
  .representatives-page .representatives-hero .hero-copy > p:not(.micro) {
    max-width: 22ch !important;
    margin: 0 !important;
    font-size: 15px !important;
    line-height: 1.38 !important;
  }
  .representatives-page .representatives-hero .hero-actions {
    display: grid !important;
    gap: 9px !important;
    width: min(100%, 265px) !important;
    margin-top: 18px !important;
  }
  .representatives-page .representatives-hero .hero-actions .btn {
    justify-content: center !important;
    min-height: 44px !important;
    padding: 10px 12px !important;
    font-size: 12px !important;
  }
  .representatives-page .representatives-hero .micro { display: none !important; }

  /* ATENDIMENTO */
  body.solution-detail-atendimento .detail-hero {
    display: block !important;
    min-height: 650px !important;
    margin: 0 !important;
    border-radius: 0 !important;
    background: #f7f2e6 url('/assets/atendimento-hero-mobile-r280.png') center / cover no-repeat !important;
    box-shadow: none !important;
  }
  body.solution-detail-atendimento .detail-media { display: none !important; }
  body.solution-detail-atendimento .detail-copy {
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    width: min(66%, 350px) !important;
    min-height: 650px !important;
    padding: 42px 0 28px 22px !important;
    color: #062f38 !important;
    background: transparent !important;
  }
  body.solution-detail-atendimento .detail-copy h1 {
    max-width: 100% !important;
    margin: 13px 0 15px !important;
    font-size: clamp(36px, 10.3vw, 46px) !important;
    line-height: .95 !important;
  }
  body.solution-detail-atendimento .detail-copy > p {
    max-width: 22ch !important;
    font-size: 15px !important;
    line-height: 1.4 !important;
  }
  body.solution-detail-atendimento .detail-copy .button {
    min-height: 44px !important;
    margin-top: 18px !important;
    padding: 10px 14px !important;
    font-size: 12px !important;
  }

  /* As demais páginas de solução repetem o mesmo contrato editorial. */
  body.solution-detail-agenda .detail-hero,
  body.solution-detail-reservas .detail-hero,
  body.solution-detail-presenca .detail-hero {
    display: block !important;
    min-height: 650px !important;
    margin: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
  }
  body.solution-detail-agenda .detail-hero { background: #f7f2e6 url('/assets/agenda-hero-mobile-r280.png') center / cover no-repeat !important; }
  body.solution-detail-reservas .detail-hero { background: #f7f2e6 url('/assets/reservas-hero-mobile-r280.png') center / cover no-repeat !important; }
  body.solution-detail-presenca .detail-hero { background: #062f38 url('/assets/presenca-hero-mobile-r280.png') center / cover no-repeat !important; }
  body.solution-detail-agenda .detail-media,
  body.solution-detail-reservas .detail-media,
  body.solution-detail-presenca .detail-media { display: none !important; }
  body.solution-detail-agenda .detail-copy,
  body.solution-detail-reservas .detail-copy,
  body.solution-detail-presenca .detail-copy {
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    width: min(66%, 350px) !important;
    min-height: 650px !important;
    padding: 42px 0 28px 22px !important;
    background: transparent !important;
  }
  body.solution-detail-agenda .detail-copy,
  body.solution-detail-reservas .detail-copy { color: #062f38 !important; }
  body.solution-detail-presenca .detail-copy { color: #f7f2e6 !important; }
  body.solution-detail-agenda .detail-copy h1,
  body.solution-detail-reservas .detail-copy h1,
  body.solution-detail-presenca .detail-copy h1 {
    max-width: 100% !important;
    margin: 13px 0 15px !important;
    font-size: clamp(35px, 10.2vw, 46px) !important;
    line-height: .95 !important;
  }
  body.solution-detail-agenda .detail-copy > p,
  body.solution-detail-reservas .detail-copy > p,
  body.solution-detail-presenca .detail-copy > p {
    max-width: 22ch !important;
    font-size: 15px !important;
    line-height: 1.4 !important;
  }
  body.solution-detail-agenda .detail-copy .button,
  body.solution-detail-reservas .detail-copy .button,
  body.solution-detail-presenca .detail-copy .button {
    min-height: 44px !important;
    margin-top: 18px !important;
    padding: 10px 14px !important;
    font-size: 12px !important;
  }

  /* R288 override: R280 portraits use a dark upper field. Keep copy and
     compact actions inside that field rather than crossing the subject. */
  body.solution-detail-page .detail-copy,
  body.solution-detail-page .detail-copy > * { color: #f7f2e6 !important; }
  body.solution-detail-page .detail-copy {
    width: min(82%, 330px) !important;
    min-height: 0 !important;
    padding: 24px 0 0 24px !important;
  }
  body.solution-detail-page .detail-copy .eyebrow { color: #c8f25c !important; }
  body.solution-detail-page .detail-copy h1 {
    max-width: 100% !important;
    margin: 10px 0 !important;
    font-size: clamp(31px, 8.5vw, 34px) !important;
  }
  body.solution-detail-page .detail-copy p {
    max-width: 25ch !important;
    margin: 0 0 10px !important;
    font-size: 14px !important;
    line-height: 1.32 !important;
  }
  body.solution-detail-page .detail-copy .button {
    width: min(100%, 208px) !important;
    min-height: 44px !important;
    margin-top: 4px !important;
    padding-inline: 12px !important;
  }

  /* These selectors deliberately repeat the page names. Their earlier,
     more-specific rules used to restore a narrow oversized column after the
     shared mobile contract had reserved the artwork's clear upper field. */
  body.solution-detail-atendimento .detail-copy,
  body.solution-detail-agenda .detail-copy,
  body.solution-detail-reservas .detail-copy,
  body.solution-detail-presenca .detail-copy {
    width: min(82%, 330px) !important;
    min-height: 0 !important;
    padding: 24px 0 0 24px !important;
    color: #f7f2e6 !important;
  }
  body.solution-detail-atendimento .detail-copy h1,
  body.solution-detail-agenda .detail-copy h1,
  body.solution-detail-reservas .detail-copy h1,
  body.solution-detail-presenca .detail-copy h1 {
    margin: 10px 0 !important;
    font-size: clamp(31px, 8.5vw, 34px) !important;
  }
  body.solution-detail-atendimento .detail-copy > p,
  body.solution-detail-agenda .detail-copy > p,
  body.solution-detail-reservas .detail-copy > p,
  body.solution-detail-presenca .detail-copy > p {
    max-width: 25ch !important;
    margin: 0 0 10px !important;
    font-size: 14px !important;
    line-height: 1.32 !important;
  }
  body.solution-detail-atendimento .detail-copy .button,
  body.solution-detail-agenda .detail-copy .button,
  body.solution-detail-reservas .detail-copy .button,
  body.solution-detail-presenca .detail-copy .button {
    width: min(100%, 190px) !important;
    margin-top: 4px !important;
    color: #062f38 !important;
  }

  .solutions-page .hero-split .hero-content {
    width: 100% !important;
    min-height: 0 !important;
    padding: 34px 24px 0 !important;
  }
  .solutions-page .hero-split .hero-content h1 { max-width: 100% !important; }
  /* Keep the authored words together without erasing their separating space.
     `display:none` turned "Rotina<br>travada?" into "Rotinatravada?". */
  .solutions-page .hero-split .hero-content .mobile-hero-title br {
    display: inline-block !important;
    width: .22em !important;
  }
  .solutions-page .hero-split .hero-content > p:not(.muted) { max-width: 25ch !important; }

  .representatives-page .representatives-hero .hero-copy {
    width: min(84%, 330px) !important;
    min-height: 0 !important;
    padding: 34px 0 0 24px !important;
  }
  .representatives-page .representatives-hero h1 {
    font-size: clamp(31px, 8.6vw, 34px) !important;
  }
  .representatives-page .representatives-hero .hero-copy > p:not(.micro) {
    display: none !important;
  }
  .representatives-page .representatives-hero .hero-actions {
    width: min(100%, 208px) !important;
    margin-top: 8px !important;
  }
  .representatives-page .representatives-hero .hero-actions .ghost {
    display: none !important;
  }
}
