/* Um fluxo de consultoria: diagnóstico → processos → soluções → gestão. */
.consulting-flow{width:100%;max-width:500px;justify-self:end;align-self:center}
.consulting-flow>h2{font-size:23px;line-height:1.4;letter-spacing:-.025em;margin:0 0 30px;color:var(--navy)}
.flow-canvas{position:relative;height:408px}
.flow-connections{position:absolute;inset:0;width:100%;height:100%;overflow:visible;pointer-events:none}
.flow-connections>g{fill:none;stroke-width:1.6;vector-effect:non-scaling-stroke}
.flow-track{stroke:#8ba0ad;color:#5a7384;marker-end:url(#flow-arrow)}
.flow-progress{stroke:var(--green);color:var(--green)}
.flow-link{stroke-dasharray:1;stroke-dashoffset:0}
.flow-stages{position:relative;display:grid;grid-template-columns:1fr 1fr;grid-template-rows:174px 174px;column-gap:9.6%;row-gap:60px;list-style:none;margin:0;padding:0}
.flow-stage{min-width:0;padding:23px 20px 18px;border:1px solid #a8bbc4;border-radius:10px;background:white;display:flex;flex-direction:column;justify-content:center;align-items:flex-start}
.flow-stage .flow-icon{width:30px;height:30px;stroke:var(--navy);stroke-width:1.6;fill:none;stroke-linecap:round;stroke-linejoin:round;margin-bottom:18px}
.flow-stage h3{font-size:21px;line-height:1.2;letter-spacing:-.025em;margin:0 0 9px}
.flow-stage p{font-size:14px;line-height:1.4;color:var(--muted);margin:0}
.stage-three{grid-row:2;grid-column:2}
.stage-four{grid-row:2;grid-column:1;background:#eaf4e7;border-color:var(--green)}
.stage-four .flow-icon{stroke:var(--green)}
.flow-caption{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-top:27px}
.flow-caption p{font-size:13px;line-height:1.6;margin:0;color:var(--muted)}
.flow-replay{display:inline-flex;align-items:center;gap:7px;padding:8px 0 8px 8px;min-height:44px;flex-shrink:0;background:transparent;border:0;color:var(--navy);font-size:13px;font-weight:500;text-decoration:underline;text-underline-offset:4px}
.flow-replay svg{width:17px;height:17px;stroke:currentColor;stroke-width:1.6}
.flow-replay:hover{color:var(--green)}
.flow-playing .flow-link{animation:flow-connect .75s ease-out both}
.flow-playing .link-one{animation-delay:.55s}.flow-playing .link-two{animation-delay:1.65s}.flow-playing .link-three{animation-delay:2.75s}
.flow-playing .flow-stage{animation:flow-step 1s ease-out both}
.flow-playing .stage-one{animation-delay:0s}.flow-playing .stage-two{animation-delay:1.1s}.flow-playing .stage-three{animation-delay:2.2s}.flow-playing .stage-four{animation:flow-finish 1s ease-out 3.3s both}
@keyframes flow-connect{from{stroke-dashoffset:1}to{stroke-dashoffset:0}}
@keyframes flow-step{0%{border-color:#a8bbc4;background:white}35%,75%{border-color:var(--green);background:#eaf4e7}100%{border-color:#a8bbc4;background:white}}
@keyframes flow-finish{0%{background:white;border-color:#a8bbc4}100%{background:#eaf4e7;border-color:var(--green)}}
@media(min-width:851px) and (max-width:1100px){.flow-stage{padding-inline:15px}.flow-stage h3{font-size:19px}.flow-stage p{font-size:13px}.flow-caption{gap:10px}.flow-caption p{font-size:12px}}
@media(min-width:601px) and (max-width:850px){.hero-layout{grid-template-columns:1fr;gap:45px}.consulting-flow{justify-self:center;max-width:500px}.hero-actions{flex-direction:row;align-items:center;gap:24px}.hero-copy>p{max-width:55ch}}
@media(max-width:600px){.hero-layout{gap:40px}.consulting-flow{max-width:440px;justify-self:center}.consulting-flow>h2{font-size:21px;margin-bottom:24px}.flow-stage{padding:18px 12px}.flow-stage h3{font-size:18px}.flow-stage p{font-size:13px;max-width:14ch}.flow-stage .flow-icon{width:27px;height:27px;margin-bottom:16px}.flow-caption{gap:10px;margin-top:22px}.flow-caption p{font-size:12px}.flow-replay{font-size:12px;gap:5px}.home-hero{padding-bottom:38px}}
@media(prefers-reduced-motion:reduce){.consulting-flow *{animation:none!important}.flow-replay{display:none}.flow-link{stroke-dashoffset:0}}
