
/* Motion Atlas #000011, #000022, #000099, #001155, #007788, #112299 */
[data-headline-motion] { position: relative; transform-origin: 50% 80%; }
.headline-word { display: inline-block; position: relative; }
[data-headline-motion="highlight"] .headline-word {
  background: linear-gradient(90deg,currentColor 50%,color-mix(in srgb,currentColor 54%,transparent) 50%) right / 200% 100%;
  -webkit-background-clip: text; background-clip: text;
}
[data-headline-motion="highlight"].headline-ink .headline-word {
  color: transparent;
  background-image: linear-gradient(90deg,var(--headline-color) 50%,var(--headline-soft) 50%);
  background-position: var(--highlight-position,100%) center;
  transition: background-position .24s ease-out;
}
[data-headline-motion="highlight"] { --headline-color: #e3edf9; --headline-soft: #809dcb; }
[data-headline-motion="highlight"] em { --headline-color: var(--lime); --headline-soft: #5a6e97; }
#detalhes [data-headline-motion="highlight"] { --headline-color: #051126; --headline-soft: #204579; }
#detalhes [data-headline-motion="highlight"] em { --headline-color: #162f56; --headline-soft: #21487e; }
[data-headline-motion="marker"] em .headline-word::before {
  content: ''; position: absolute; z-index: -1; pointer-events: none; inset: 60% -2% 2%;
  border-radius: .08em; background: #6b83af75; transform: scaleX(0) rotate(-2deg); transform-origin: left;
}
[data-headline-motion="marker"].headline-ink em .headline-word::before { animation: headline-marker .5s var(--word-delay) both; }
@keyframes headline-marker { to { transform: scaleX(1) rotate(-2deg); } }

#problema { overflow: clip; }
.pain-intro { display: grid; grid-template-columns: minmax(0,1.2fr) minmax(0,.8fr); gap: 18px 40px; align-items: end; }
.pain-intro .problema-body { margin: 0 0 6px; }
.pain-runway { margin-top: 34px; }
.pain-runway.is-pinned::after { content: ''; display: block; height: var(--runway-distance); }
.pain-runway.is-pinned .pain-pin { position: sticky; top: calc(var(--header-height) + 18px); }
.pain-rail {
  position: relative; display: grid; grid-auto-flow: column; grid-auto-columns: 72%;
  overflow-x: auto; overflow-y: hidden; padding: 12px max(0px,14%) 22px;
  column-gap: 22px; scroll-snap-type: x mandatory; scrollbar-width: thin;
  overscroll-behavior-inline: contain; perspective: 1100px;
}
.pain-runway.is-pinned .pain-rail { scroll-snap-type: none; }
.pain-card {
  scroll-snap-align: center; min-width: 0; display: grid; grid-template-columns: minmax(0,1.05fr) minmax(0,.95fr);
  background: #10273a; color: var(--paper); align-items: stretch; border: 1px solid #87a7d549; border-radius: 22px;
  overflow: hidden; box-shadow: 0 12px 24px #01091375; opacity: .73;
  transform: perspective(950px) rotateY(-5deg) scale(.955) translateY(6px); transition: transform .38s cubic-bezier(.16,1,.3,1), opacity .35s ease;
}
.pain-card.is-behind { transform: perspective(950px) rotateY(5deg) scale(.955) translateY(6px); }
.pain-card.is-current { transform: none; opacity: 1; }
.pain-card img { width: 100%; height: 100%; min-height: 230px; max-height: 310px; object-fit: cover; }
.pain-card > div { display: grid; gap: 9px; align-content: center; padding: clamp(19px,3vw,37px); }
.pain-card h3 { color: #e7f1fd; font: 400 clamp(1.9rem,3vw,3.5rem)/1 var(--font-display); }
.pain-card p { color: #dde7f3; }
.depth-nav,.pain-contact,.review-snap-controls { justify-content: center; }
.depth-nav { margin-top: 12px; }
.pain-contact { display: flex; margin-top: 25px; }

.service-deck { display: grid; max-width: 990px; margin: 38px auto 0; }
.service-slot { min-width: 0; margin-bottom: clamp(50px,8vw,112px); }
.service-slot:last-child { margin-bottom: 0; }
.service-slot.can-stack { position: sticky; top: calc(var(--header-height) + 18px + var(--stack-inset,0px)); }
.service-slot:focus-within { z-index: 2; }
.service-card {
  display: grid; grid-template-columns: minmax(0,1.03fr) minmax(0,.97fr); overflow: hidden;
  min-height: 290px; border: 1px solid #6278a255; border-radius: 24px;
  background: #eaf4ff; box-shadow: 0 17px 40px #0e1f3b30;
}
.service-card > img { display: block; width: 100%; height: 100%; max-height: 420px; object-fit: cover; }
.service-card-copy { padding: clamp(22px,4vw,53px); display: grid; align-content: center; gap: 11px; }
.service-card h3 { font: 400 clamp(2.4rem,4.5vw,4.7rem)/.98 var(--font-display); color: var(--navy); }
.service-card p { color: var(--body-text); }
.service-card .btn { margin-top: 8px; justify-self: start; }

.review-number { font-variant-numeric: tabular-nums; color: #142c50; }
.review-snap {
  display: grid; position: relative; grid-auto-flow: column; grid-auto-columns: min(440px,77%); gap: 18px;
  overflow-x: auto; overflow-y: hidden; padding: 13px 0 24px; margin-top: 29px;
  scroll-snap-type: x mandatory; scrollbar-width: thin; overscroll-behavior-inline: contain;
}
.review-snap::after { content: ''; width: min(25vw,calc(100cqw - 440px)); }
.review-snap .review-card { scroll-snap-align: start; display: flex; flex-direction: column; gap: 22px; min-height: 240px; margin: 0; padding: 27px; }
.review-snap .review-card :is(.review-text-large,.review-text) { font: 400 clamp(1.85rem,3vw,3rem)/1.06 var(--font-display); margin: 0; }
.review-snap .review-author { margin-top: auto; }
.review-avatar { display: inline-grid; place-items: center; width: 54px; height: 54px; padding: 3px; border-radius: 50%; flex: none; }
.review-avatar svg { width: 100%; height: 100%; border-radius: 50%; background: #ebf5ff; color: #182c2c; }
.review-avatar circle { fill: var(--avatar-fill); }
.review-avatar path { fill: none; stroke: currentColor; opacity: .24; stroke-width: 1.5; }
.review-avatar text { fill: currentColor; font: 700 17px var(--font-body); }
.avatar-sage { background: linear-gradient(120deg,#5a6f98,#d9ad64); --avatar-fill: #d0d9e5; }
.avatar-navy { background: linear-gradient(120deg,#50628a,#9cc5df); --avatar-fill: #c5dcdf; }
.avatar-gold { background: linear-gradient(120deg,#bd673a,#e4c273); --avatar-fill: #f2dfb5; }
.review-snap-controls { display: flex; gap: 10px; }
.review-snap-controls button { width: 44px; height: 44px; border: 1px solid #1c3d6c5c; border-radius: 50%; color: #0c1a34; font-size: 20px; }

.story-mobile-visual { background: radial-gradient(ellipse at 18% 28%,#142b4f,#0d2036 76%); }
.story-step:nth-child(2) .story-mobile-visual { background: radial-gradient(ellipse at 68% 36%,#21497f,#122b3b 76%); }
.story-step:nth-child(2) .story-mobile-visual svg { transform: scale(1.1) rotate(-8deg); }
.contact-figure img[src$=".svg"] { box-shadow: none; filter: none; background: radial-gradient(ellipse,#163057,#0b2030 76%); }
@media (max-width: 860px) {
  .pain-intro { grid-template-columns: minmax(0,1fr); }
  .pain-runway { margin-top: 22px; }
  .pain-rail { grid-auto-columns: 87%; padding-inline: 6.5%; column-gap: 12px; }
  .pain-card { grid-template-columns: minmax(0,1fr); grid-template-rows: clamp(115px,32vw,185px) auto; }
  .pain-card img { min-height: 0; max-height: none; }
  .pain-card > div { align-content: start; }
  .pain-contact .btn { margin-inline: auto; }
  .service-card { grid-template-columns: minmax(0,1fr); }
  .service-card > img { height: clamp(135px,40vw,235px); }
  .service-card-copy { padding: 21px; }
  .service-card .btn { justify-self: center; }
  .review-snap { grid-auto-columns: 87%; }
}
@media (prefers-reduced-motion: reduce) {
  .pain-card,.pain-card.is-behind { opacity: 1; transform: none; transition: none; }
  .service-slot.can-stack { position: relative; top: auto; }
  [data-headline-motion="highlight"].headline-ink .headline-word { animation: none; color: inherit; background: none; }
  [data-headline-motion="marker"].headline-ink em .headline-word::before { animation: none; transform: none; }
}


.pain-pin { container-type: inline-size; }
.pain-rail { grid-auto-columns: 72cqw; padding-inline: 14cqw; }
.stack-photo img[src$=".svg"] { background: #0d1c36; object-fit: contain; }
@media (max-width: 860px) {
  .pain-rail { grid-auto-columns: 87cqw; padding-inline: 6.5cqw; }
}

.provas-grid { container-type: inline-size; }
.review-snap {
  --review-width: min(440px,77cqw);
  grid-auto-columns: var(--review-width);
  padding-inline-end: calc(100cqw - var(--review-width));
}
.review-snap::after { content: none; }
@media (max-width: 860px) { .review-snap { --review-width: 87cqw; } }

