/* Composição própria para celular e tablet em retrato. */
@media (max-width: 800px) {
  :root { --gutter: 24px; --mobile-header: calc(84px + env(safe-area-inset-top, 0px)); }
  html { scroll-padding-top: calc(var(--mobile-header) + 16px); }
  body { padding-bottom: env(safe-area-inset-bottom, 0px); }
  .header { height: var(--mobile-header); padding-top: env(safe-area-inset-top, 0px); box-shadow: none; }
  .header.scrolled { box-shadow: 0 1px 0 #193d351f; }
  .brand { width: 184px; flex-shrink: 0; }
  .menu-toggle { font-size: 13px; padding: 12px; gap: 12px; min-width: 84px; min-height: 48px; }
  .menu-lines { position: relative; height: 16px; border: 0; }
  .menu-lines::before, .menu-lines::after { content: ''; position: absolute; left: 0; width: 16px; height: 1px; background: currentColor; transition: transform .25s, top .25s; }
  .menu-lines::before { top: 5px; }
  .menu-lines::after { top: 11px; }
  .menu-toggle[aria-expanded=true] { background: var(--green); color: var(--ivory); }
  .menu-toggle[aria-expanded=true] .menu-lines { height: 16px; transform: none; }
  .menu-toggle[aria-expanded=true] .menu-lines::before { top: 8px; transform: rotate(45deg); }
  .menu-toggle[aria-expanded=true] .menu-lines::after { top: 8px; transform: rotate(-45deg); }
  .header nav { top: 100%; max-height: calc(100dvh - var(--mobile-header)); overflow-y: auto; background: var(--green); color: var(--ivory); padding: 16px 24px 24px; gap: 0; box-shadow: 0 18px 30px #102c2526; }
  .header nav > a { min-height: 66px; padding: 16px 0; font-size: 23px; letter-spacing: -.035em; border-bottom: 1px solid #f2efe633; }
  .header nav > a:not(.nav-cta)::after { display: none; }
  .header nav > a:not(.nav-cta)[aria-current=location] { color: #ded2b9; }
  .header nav .nav-cta { background: var(--ivory); color: var(--green); min-height: 56px; margin-top: 20px; padding: 16px 18px; font-size: 14px; letter-spacing: 0; border: 0; }

  .hero { display: flex; flex-direction: column; height: auto; min-height: 0; max-height: none; margin: 0; border-radius: 0; background: var(--ivory); color: var(--green); overflow: hidden; }
  .hero-content { order: 1; padding: 28px var(--gutter) 28px; }
  .hero .eyebrow { font-size: 10px; letter-spacing: .7px; line-height: 1.7; color: var(--green); margin-bottom: 25px; gap: 8px; }
  .hero h1 { font-size: clamp(37px, 10.5vw, 72px); font-weight: 500; line-height: 1.07; letter-spacing: -.055em; max-width: 690px; }
  .line-mask { overflow: visible; padding-bottom: 0; margin-bottom: 0; }
  .line-accent { color: #68736a; }
  .hero-description { display: block; margin-top: 24px; }
  .hero-description > p { font-size: 15px; line-height: 1.75; color: var(--muted); max-width: 380px; }
  .hero-description .button { display: flex; width: 100%; min-width: 0; min-height: 56px; margin-top: 24px; background: var(--green); color: var(--ivory); padding: 16px 20px; font-size: 14px; }
  .hero-description .button:hover { background: #28594c; }
  .hero-media { order: 2; position: relative; inset: auto; z-index: 0; margin: -4px var(--gutter) 0; height: clamp(210px, 68vw, 430px); overflow: visible; background: transparent; }
  .hero-media img { width: 100%; height: 100%; object-fit: contain; object-position: center; transform: none; filter: drop-shadow(0 12px 12px #193d3514); }
  .hero-media::after { display: none; }
  .hero-shade, .hero-frame, .hero-aside { display: none; }
  .hero-bottom { order: 3; position: static; padding: 12px 0 0; margin: 0 var(--gutter) 0; border: 0; color: var(--green); flex-wrap: nowrap; gap: 10px; }
  .hero-bottom > a { max-width: none; min-height: 48px; gap: 8px; font-size: 11px; line-height: 1.5; }

  .section { padding: 64px var(--gutter); }
  .section-label { margin-bottom: 26px; font-size: 11px; line-height: 1.6; letter-spacing: 1px; }
  .section h2 { font-size: clamp(34px, 9.2vw, 52px); line-height: 1.12; letter-spacing: -.045em; }
  .essence-layout { gap: 28px; }
  .essence-text { padding-top: 0; }
  .essence-text > p.lead { font-size: 18px; line-height: 1.65; }
  .essence-text > p { font-size: 16px; line-height: 1.8; margin-top: 20px; }
  .text-link { font-size: 13px; line-height: 1.6; min-height: 48px; }
  .essence-text .text-link { margin-top: 14px; }
  .essence-foot { margin-top: 30px; padding-top: 22px; gap: 16px; }
  .essence-foot > p { font-size: 13px; }
  .essence-foot > div { gap: 9px 16px; font-size: 10px; letter-spacing: .4px; }

  .section-heading { margin-bottom: 30px; }
  .section-heading > p { font-size: 16px; line-height: 1.7; margin-top: 20px; padding: 0; }
  .service-list { gap: 0; }
  .service { border-color: #bfc6b9; padding: 24px 0; }
  .service:first-child { border-top: 1px solid #bfc6b9; }
  .service summary { display: grid; grid-template-columns: 96px minmax(0, 1fr); column-gap: 18px; align-items: start; }
  .service-image { grid-column: 1; grid-row: 1 / 4; height: 100%; min-height: 156px; border-radius: 0; align-self: stretch; }
  .service-image > img, .service-image > picture { position: absolute; inset: 0; width: 100%; height: 100%; }
  .service-image > picture > img { object-position: center; }
  .service-image::after, .service-image .image-caption { display: none; }
  .service-title { grid-column: 2; margin: 0; gap: 8px; }
  .service h3 { font-size: clamp(22px, 6.5vw, 32px); line-height: 1.15; letter-spacing: -.035em; }
  .service-icon { width: 29px; height: 29px; font-size: 21px; }
  .service-excerpt { grid-column: 2; margin-top: 12px; font-size: 14px; line-height: 1.65; }
  .details-label { grid-column: 2; font-size: 12px; margin-top: 12px; min-height: 36px; gap: 10px; }
  .service-body { padding-top: 20px; max-width: none; }
  .service-body > p { font-size: 16px; line-height: 1.8; }
  .service-body > .text-link { width: 100%; font-size: 13px; min-height: 48px; gap: 12px; }

  .perspective-sticky { height: 360px; min-height: 0; }
  .perspective-media picture > img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; transform: none; }
  .perspective-copy { inset: 26px var(--gutter); }
  .perspective-copy > .eyebrow { font-size: 10px; letter-spacing: .8px; }
  .perspective h2 { font-size: clamp(42px, 11vw, 58px); }
  .perspective-line { margin: 18px 0; width: 48px; }
  .perspective-copy > p:last-child { font-size: 14px; line-height: 1.7; }
  .story-list { padding: 0 var(--gutter) 22px; }
  .story { min-height: 0; padding: 32px 0; }
  .story-dot { display: none; }
  .story .eyebrow { font-size: 11px; letter-spacing: 1px; margin-bottom: 18px; }
  .story h3 { font-size: clamp(29px, 7.8vw, 40px); line-height: 1.16; }
  .story > p:not(.eyebrow) { font-size: 16px; line-height: 1.8; margin-top: 18px; max-width: 480px; }
  .story .text-link { font-size: 13px; margin-top: 14px; }

  .people { padding-bottom: 58px; }
  .people-heading { margin-bottom: 30px; gap: 20px; }
  .people-intro > p { font-size: 16px; line-height: 1.8; }
  .people-grid { gap: 28px; }
  .person-image { aspect-ratio: 1.04; }
  .person-name { font-size: 22px; line-height: 1.35; }
  .person-role { font-size: 13px; }
  .person figcaption { padding: 16px 0 18px; }
  .people-foot { margin-top: 26px; }
  .people-foot > p { font-size: 15px; }
  .people-foot .text-link { font-size: 13px; }

  .questions { gap: 28px; }
  .questions-heading > p:last-child { font-size: 16px; line-height: 1.75; margin-top: 20px; }
  .question summary { min-height: 78px; padding: 22px 0; font-size: 16px; line-height: 1.6; gap: 16px; }
  .question > div { padding: 0 24px 24px 0; font-size: 16px; line-height: 1.8; }
  .question[open] > div { animation: detail-in .25s ease; }

  .contact { gap: 30px; }
  .contact-copy .eyebrow { font-size: 11px; margin-bottom: 24px; }
  .contact-copy h2 { font-size: clamp(42px, 11.5vw, 64px); line-height: 1.06; }
  .contact-copy > p:not(.eyebrow) { font-size: 16px; line-height: 1.8; margin-top: 24px; max-width: 440px; }
  .contact-copy > .text-link { font-size: 12px; margin-top: 16px; gap: 12px; }
  .contact-form { padding: 24px 20px; background: var(--ivory); border: 1px solid #bec4b4; border-radius: 3px; }
  .form-heading { font-size: 20px; line-height: 1.45; margin-bottom: 24px; }
  .contact-form label { font-size: 13px; line-height: 1.6; }
  .contact-form input, .contact-form select, .contact-form textarea { font-size: 16px; min-height: 52px; background: transparent; padding: 14px 12px; margin-bottom: 22px; }
  .contact-form textarea { min-height: 124px; }
  .contact-form .button { min-height: 56px; padding: 16px; font-size: 13px; gap: 16px; }
  .form-note, .contact-result { font-size: 13px; line-height: 1.8; }
  .result-actions { display: grid; gap: 4px; }
  .result-actions .text-link { width: 100%; justify-content: flex-start; }
  .footer { padding: 40px var(--gutter) 24px; }
  .footer-top { gap: 24px; padding-bottom: 28px; }
  .footer-brand { width: 200px; }
  .footer-top > p { font-size: 21px; }
  .back-top { font-size: 13px; min-height: 48px; }
  .footer-bottom { font-size: 12px; gap: 8px; }
  .footer-bottom > a { min-height: 48px; }

  html:not(.js) .header { position: relative; height: auto; }
  html:not(.js) .header nav { background: transparent; color: var(--green); overflow: visible; max-height: none; padding: 0; gap: 4px 16px; }
  html:not(.js) .header nav > a { font-size: 13px; min-height: 48px; padding: 10px 0; letter-spacing: 0; border: 0; }
  html:not(.js) .header nav .nav-cta { margin-top: 0; background: var(--green); color: var(--ivory); padding: 12px; }
}

@media (max-width: 360px) {
  :root { --gutter: 20px; }
  .hero .eyebrow { font-size: 9px; letter-spacing: .4px; }
  .hero h1 { font-size: 36px; }
  .hero-bottom { gap: 6px; }
  .hero-bottom > a { font-size: 11px; }
  .service summary { grid-template-columns: 80px minmax(0, 1fr); column-gap: 14px; }
  .service h3 { font-size: 22px; }
  .service-icon { width: 25px; height: 25px; font-size: 19px; }
  .service-excerpt { font-size: 13px; }
  .contact-form { padding: 20px 16px; }
}
