/* Portfolio and applications, with matte surfaces and inline SVG illustrations. */
.page-cases main > .work-hero { padding-block: 80px; }
.work-hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 80px; }
.page-cases .work-hero h1 { font-size: clamp(38px,4.25vw,59px); line-height: 1.13; margin-bottom: 25px; }
.work-hero h1 em { color: #f89330; font-style: normal; }
.page-cases .work-lead { font-size: 17px; line-height: 1.8; max-width: 580px; }
.work-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 25px; margin-top: 30px; }
.page-cases .work-actions .icon { color: inherit; }
.work-hero-board { border: 1px solid #4a566b; background: #202938; border-radius: 12px; padding: 28px; }
.page-cases .work-board-label { font-size: 9px; color: #b0bdd0; letter-spacing: .1em; margin: 0 0 22px; }
.page-cases .work-hero-board h2 { font-size: 29px; margin: 0 0 25px; }
.work-board-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); border-top: 1px solid #47546a; border-left: 1px solid #47546a; }
.work-board-grid > div { display: grid; justify-items: start; border-right: 1px solid #47546a; border-bottom: 1px solid #47546a; padding: 19px; }
.page-cases .work-board-grid .icon { color: #e8a775; margin-bottom: 16px; }
.work-board-grid strong { font-size: 14px; font-weight: 600; }
.work-board-grid span { font-size: 10px; color: #b1bfd3; margin-top: 4px; }
.page-cases .work-board-foot { font-size: 11px; color: #c2a98e; margin: 20px 0 0; }
.work-section-heading { display: flex; align-items: end; justify-content: space-between; gap: 40px; margin-bottom: 36px; }
.page-cases .work-section-heading h2 { font-size: clamp(30px,3.1vw,42px); margin-bottom: 0; }
.page-cases .work-section-heading > p { max-width: 370px; font-size: 14px; margin-bottom: 0; }
.work-products { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px; }
.work-product { min-width: 0; display: flex; flex-direction: column; padding: 30px; background: #fff; border: 1px solid #d5dce7; border-radius: 10px; }
.work-product-top { display: flex; justify-content: space-between; align-items: center; gap: 25px; padding-bottom: 25px; border-bottom: 1px solid #e2e6ed; margin-bottom: 23px; }
.work-product-top img { width: 160px; height: 54px; object-fit: contain; object-position: left center; max-width: 75%; }
.work-product-top > span { color: #79859b; font-size: 11px; }
.page-cases .work-category { font-size: 10px; color: #89512a; text-transform: uppercase; letter-spacing: .08em; margin: 0 0 8px; }
.page-cases .work-product h3 { font-size: 28px; letter-spacing: -.035em; margin-bottom: 14px; }
.page-cases .work-product-description { font-size: 14px; line-height: 1.8; margin-bottom: 22px; max-width: 550px; }
.work-tags { list-style: none; display: flex; flex-wrap: wrap; gap: 7px; padding: 0; margin: auto 0 23px; }
.work-tags li { color: #536077; background: #eef1f5; border: 1px solid #e0e5ec; border-radius: 4px; padding: 5px 9px; font-size: 10px; line-height: 1.5; }
.work-product-links { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; padding-top: 18px; border-top: 1px solid #e0e5ed; }
.work-product-links a { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 600; color: #8c441c; }
.work-product-links a:last-child { color: #526078; }
.work-product-links a:hover { color: #ad4e17; text-decoration: underline; text-underline-offset: 4px; }
.work-product-links .icon { width: 17px; height: 17px; }
.work-product-links span { font-size: 17px; }
.work-custom { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; background: #eae5de; border: 1px solid #d7cbbb; border-radius: 10px; padding: 35px; }
.work-custom-icon { display: inline-flex; margin-bottom: 24px; padding: 13px; border: 1px solid #c7ad94; border-radius: 8px; }
.work-custom-icon .icon { width: 28px; height: 28px; }
.page-cases .work-custom .eyebrow { margin-bottom: 13px; }
.page-cases .work-custom h3 { font-size: 29px; line-height: 1.2; letter-spacing: -.04em; margin-bottom: 18px; }
.page-cases .work-custom > p:not(.eyebrow) { font-size: 14px; max-width: 450px; margin-bottom: 25px; }
.page-cases .work-custom .btn .icon { color: inherit; }
.work-custom > .text-link { font-size: 12px; margin-top: 20px; }
.work-applications { background: #e9edf3; border-top: 1px solid #d6deea; }
.work-project-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px; }
.work-project { min-width: 0; display: flex; flex-direction: column; border: 1px solid #cfd7e3; border-radius: 10px; background: #fff; overflow: hidden; }
.work-project-art { background: #1d2635; padding: 20px 25px; color: #e5eaf2; }
.work-art-label { display: flex; justify-content: space-between; align-items: center; font-size: 9px; letter-spacing: .09em; color: #aebcd0; }
.page-cases .work-art-label .icon { width: 18px; height: 18px; color: #dea16f; }
.work-flow { display: flex; align-items: center; gap: 9px; margin: 22px 0 18px; }
.work-flow > div { min-width: 0; flex: 1; display: grid; justify-items: center; gap: 12px; background: #2a3547; border: 1px solid #516078; border-radius: 6px; padding: 19px 4px; }
.work-flow > div:nth-of-type(2) { background: #3b3029; border-color: #b07c52; }
.page-cases .work-flow .icon { width: 25px; height: 25px; color: #becbdd; }
.page-cases .work-flow > div:nth-of-type(2) .icon { color: #edaf7d; }
.work-flow > div > span { font-size: 10px; }
.work-flow-arrow { color: #a3b0c4; font-size: 20px; }
.work-project-art figcaption { font-size: 9px; color: #9fadc2; }
.work-project-art[data-motion-frame] .work-flow > div { background: #2a3547; border-color: #516078; }
.page-cases .work-project-art[data-motion-frame] .work-flow > div .icon { color: #becbdd; }
.work-project-art[data-motion-frame] .work-flow > div.is-current { background: #3b3029; border-color: #d69561; }
.page-cases .work-project-art[data-motion-frame] .work-flow > div.is-current .icon,
.work-project-art .work-flow-arrow.is-current { color: #ffb474; }
.work-project-art .work-flow-arrow { position: relative; }
.work-project-art .work-flow-arrow::after { content: ''; position: absolute; left: 0; top: calc(50% + 10px); width: 4px; height: 4px; border-radius: 50%; background: #ff963e; opacity: 0; }
.work-project-art:not(.is-motion-running) .icon-motion,
.work-project-art:not(.is-motion-running) .icon-motion * { animation-play-state: paused; }
@media (prefers-reduced-motion: no-preference) {
  .work-project-art .work-flow > div { transition: transform .7s ease,background .7s ease,border-color .7s ease; }
  .work-project-art .work-flow-arrow { transition: color .5s ease; }
  .work-project-art[data-motion-frame] .work-flow > div.is-current { transform: translateY(-5px); }
  .work-project-art.is-motion-running .work-flow-arrow.is-current::after { animation: work-data-transfer 1.3s ease-in-out infinite; }
  #case-integracoes .work-project-art[data-motion-frame="1"] .work-flow > div:first-of-type { transform: translateX(4px); }
  #case-integracoes .work-project-art[data-motion-frame="1"] .work-flow > div:last-of-type { transform: translateX(-4px); }
  #case-dashboard .work-project-art[data-motion-frame] .work-flow > div.is-current { transform: translateY(-5px) scale(1.025); }
  #case-notificacoes .work-project-art[data-motion-frame] .work-flow > div.is-current { transform: translateY(-5px) rotate(-2deg); }
}
@keyframes work-data-transfer {
  0% { opacity: 0; transform: translateX(0); }
  25%,70% { opacity: 1; }
  100% { opacity: 0; transform: translateX(14px); }
}
.work-project-body { padding: 28px; flex: 1; display: flex; flex-direction: column; }
.page-cases .work-project-body h3 { font-size: 23px; letter-spacing: -.03em; margin-bottom: 22px; }
.work-project-body dl { margin: 0; }
.work-project-body dl > div { margin-bottom: 22px; }
.work-project-body dt { font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 7px; color: #7d4c2b; }
.work-project-body dd { font-size: 13px; color: #59677c; line-height: 1.8; margin: 0; }
.work-project-benefit { border-left: 2px solid #cb9e7a; padding-left: 15px; }
.work-project-body .work-tags { margin-top: auto; }
.work-project-body > .text-link { padding-top: 18px; border-top: 1px solid #e0e5ed; color: #93491f; }
.work-closing > .container { display: flex; align-items: center; justify-content: space-between; gap: 60px; }
.page-cases .work-closing h2 { font-size: clamp(30px,3.2vw,44px); }
.page-cases .work-closing p:not(.eyebrow) { max-width: 590px; font-size: 14px; margin-bottom: 0; }
.work-closing-actions { display: grid; justify-items: center; gap: 22px; flex-shrink: 0; }
.page-cases .work-closing-actions .icon { color: inherit; }
@media (max-width: 1100px) {
  .work-hero-grid { gap: 40px; }.work-product { padding: 25px; }
  .work-hero-board { padding: 23px; }.work-board-grid > div { padding: 16px; }
}
@media (max-width: 800px) {
  .work-hero-grid { grid-template-columns: minmax(0,1fr); gap: 35px; }
  .work-hero-board { width: 100%; max-width: 580px; }
  .work-section-heading { flex-direction: column; align-items: flex-start; gap: 20px; }
  .page-cases .work-section-heading > p { max-width: 580px; }
  .work-products,.work-project-grid { gap: 18px; }.work-product { padding: 22px; }
  .work-custom { padding: 25px; }.page-cases .work-custom h3 { font-size: 25px; }
  .work-project-art { padding: 18px 15px; }.work-flow { gap: 5px; }
  .work-project-body { padding: 23px; }.work-flow > div > span { font-size: 9px; }
  .work-closing > .container { flex-direction: column; align-items: flex-start; gap: 28px; }
  .work-closing-actions { justify-items: start; }
}
@media (max-width: 600px) {
  .page-cases main > section { padding-block: 48px; }
  .page-cases .work-hero h1 { font-size: 38px; }
  .page-cases .work-lead { font-size: 15px; }
  .work-actions { flex-direction: column; align-items: stretch; gap: 22px; }
  .work-actions .text-link { justify-content: center; }
  .work-products,.work-project-grid { grid-template-columns: minmax(0,1fr); }
  .page-cases .work-section-heading h2 br { display: none; }
  .work-product { padding: 24px; }.page-cases .work-product h3 { font-size: 27px; }
  .work-product-top { padding-bottom: 20px; margin-bottom: 20px; }
  .work-product-top img { width: 145px; height: 49px; }
  .work-custom { padding: 28px 24px; }.work-custom .btn { width: 100%; }
  .work-project-art { padding: 20px; }.work-flow { gap: 7px; }.work-flow > div > span { font-size: 10px; }
  .work-closing-actions { width: 100%; }.work-closing-actions .btn { width: 100%; }
}
