/* OBJ57/58: isolated visual preview, not a publication. */
body{--paper:#fff;background:#fff}
#site .hero{height:auto;min-height:100svh;max-height:none;background:#fff;padding-bottom:110px}
#site .hero:before{background-image:linear-gradient(to bottom,#fff 0%,#ffffffba 17%,#ffffff4a 50%,#ffffff10 100%),url('assets/rio-maior-fundo.jpg')}
#site .hero:after{background:linear-gradient(90deg,#ffffffbb 0%,#ffffff2a 65%,transparent)}
#site .company{background:#fff;color:#07503e;padding-bottom:50px;overflow:visible}
#site .founder-layout{background:#07503e;color:#fff;padding:clamp(22px,4vw,60px);border-radius:4px;margin-bottom:24px}
#site .founder-layout h2,#site .founder-layout h2 em,#site .founder-layout p,#site .founder-layout figcaption{color:#fff}
#site .mwt-motion{margin:0;border-radius:0;padding:0;width:100%;height:100svh;min-height:480px;overflow:hidden}
#site .mwt-motion-stage{height:100%;min-height:480px}
#site .mwt-motion-top{position:absolute;inset:20px 24px auto auto;z-index:4}
#site .mwt-motion-top>span,#site .mwt-motion-bottom{display:none}
#site .mwt-motion-top button{background:#03251ecf;min-height:44px}
#site .mwt-motion-word{font-size:clamp(72px,17vw,270px)}
#site .mwt-motion[lang=es] .mwt-motion-word{font-size:clamp(52px,12vw,190px)}
#site .motion-strip{background:#dcff46;color:#07503e;overflow:hidden;height:64px;display:flex;align-items:center}
#site .motion-strip .word-track{font-size:32px;line-height:1.2;margin:0;padding:0;white-space:nowrap;position:relative;inset:auto;opacity:1;color:#07503e;will-change:transform}
#site .services,#site .portfolio,#site .home-resources{background:#fff;color:#07503e}
#site .portfolio-preview-bridge{background:#deeff5;color:#07503e}
#site .portfolio-preview-bridge h3,#site .portfolio-preview-bridge p,#site .portfolio-preview-bridge a{color:#07503e}
@media(max-width:700px){#site .hero{min-height:100svh;padding-bottom:105px}#site .founder-layout{padding:24px 20px;gap:30px}#site .mwt-motion{min-height:420px}#site .mwt-motion-stage{min-height:420px}#site .motion-strip{height:52px}#site .motion-strip .word-track{font-size:26px}}
@media(prefers-reduced-motion:reduce){#site .motion-strip .word-track{transform:none!important;will-change:auto}}
body #site main #inicio.hero{min-height:100svh!important;max-height:none!important;height:auto!important}
body #site #empresa.company:before,body #site #empresa.company:after{display:none!important}
body #site #empresa .founder-layout{background:linear-gradient(90deg,rgba(6,74,57,.96),rgba(6,74,57,.78)),url('assets/estadio.jpg') center/cover}
#site .motion-strip .word-track{letter-spacing:.04em;word-spacing:.22em}

/* Review 2: user-approved palette and restored original type scale. */
#site #necessidades.needs{background:#FFFFFF}
#site .motion-strip{background:#123e34;color:#eef4e9;height:auto;min-height:140px;display:block;padding:0;isolation:isolate}
#site .motion-strip .word-track{font-family:Manrope,sans-serif;font-size:100px;line-height:1.15;letter-spacing:-6px;word-spacing:.18em;opacity:.28;color:#eef4e9;width:200%;margin-left:-7%;padding-top:20px;transform:translateX(calc(var(--scroll,0)*-18%))}
#site .draft-capability-grid article:nth-child(1){background:#dce5dc;color:#07503e}
#site .draft-capability-grid article:nth-child(2){background:#deeff5;color:#07503e}
#site .draft-capability-grid article:nth-child(3){background:#faf7f0;color:#07503e}
#site .draft-capability-grid article:nth-child(4){background:#07503e;color:#fff}
#site .draft-capability-grid article:nth-child(5){background:#b6d9a5;color:#07503e}
#site .draft-capability-grid article h3,#site .draft-capability-grid article p{color:inherit}
#site #conceitos .portfolio-device-stage{background:#dce5dc;border-color:#cad5ca}
@media(max-width:700px){#site .motion-strip{min-height:96px}#site .motion-strip .word-track{font-size:70px;letter-spacing:-4px;padding-top:5px}}
@media(prefers-reduced-motion:reduce){#site .motion-strip .word-track{transform:none!important}}

/* Review 3: 3x prior displacement; tiled text prevents blank ends. */
#site .motion-strip .word-track{display:flex;width:max-content;margin-left:0;transform:translateX(var(--strip-offset,0px))}
#site .motion-strip .track-repeat{display:block;flex:0 0 auto;padding-right:.18em;white-space:pre}
#site .draft-capability-grid article:nth-child(4){background:#b6d9a5;color:#07503e}
#site .draft-capability-grid article:nth-child(5){background:#07503e;color:#fff}
#site #necessidades .preview-start-card{background:#07503e;color:#fff;border-color:#07503e}
#site #necessidades .preview-start-card p,#site #necessidades .preview-start-card small,#site #necessidades .preview-start-card .preview-tool-label{color:#fff}
#site #necessidades .preview-start-card .preview-tool-label:before{background:#b6d9a5}
#site #necessidades .preview-start-card .preview-outline{background:#b6d9a5;color:#07503e;border-color:#b6d9a5}
#site #necessidades .preview-start-card .preview-outline:hover{background:#dce5dc}
@media(prefers-reduced-motion:reduce){#site .motion-strip .word-track{transform:none!important}}
/* Review 4: native example button covers the entire card; no new action. */
#site .draft-capability-grid article{position:relative;text-align:center;display:flex;flex-direction:column;justify-content:center;min-height:230px;transition:transform .22s ease,box-shadow .22s ease,filter .22s ease;isolation:isolate}
#site .draft-capability-grid article h3{margin-bottom:18px}
#site .draft-capability-grid article .example-link{position:absolute;inset:0;width:100%;height:100%;min-width:0;max-width:none;margin:0;padding:0;border:0;border-radius:inherit;background:transparent;font-size:0;color:transparent;cursor:pointer;z-index:2}
#site .draft-capability-grid article:has(.example-link:focus-visible){z-index:3;transform:translateY(-8px) scale(1.035);box-shadow:0 16px 30px #07503e35}
#site .draft-capability-grid article .example-link:focus-visible{outline:3px solid #007fa3;outline-offset:5px;box-shadow:0 0 0 2px #fff}
@media(hover:hover){#site .draft-capability-grid article:hover{z-index:3;transform:translateY(-8px) scale(1.035);filter:brightness(.95);box-shadow:0 16px 30px #07503e35}}
@media(prefers-reduced-motion:reduce){#site .draft-capability-grid article{transition:none}#site .draft-capability-grid article:hover,#site .draft-capability-grid article:has(.example-link:focus-visible){transform:none}}

/* Review 5: roomier six-card grid and illustrative process example. */
#site .draft-capability-grid{gap:24px}
#site .draft-capability-grid article{min-height:290px;padding:36px 30px}
#site .draft-capability-grid article:nth-child(6){background:#dce5dc;color:#07503e}
.process-example-flow{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;padding:25px;list-style-position:inside;color:#07503e;background:#edf3e9;border-radius:12px}
.process-example-flow li{padding:20px;background:#fff;border:1px solid #07503e35;line-height:1.5}
.example-dialog .ex-interest[hidden]{display:none}
@media(max-width:700px){#site .draft-capability-grid article{min-height:260px;padding:32px 24px}.process-example-flow{grid-template-columns:1fr;padding:15px}}

/* Seven cards; brand blue sampled from logo-vertical.png, green from contact section. */
#site .draft-capability-grid article:nth-child(6){background:#073e31;color:#fff}
#site .draft-capability-grid article:nth-child(7){background:#055d96;color:#fff}
@media(min-width:900px){#site .draft-capability-grid{grid-template-columns:repeat(2,minmax(0,1fr))}#site .draft-capability-grid article:last-child{grid-column:1/-1;min-height:250px}}

/* Review6: visibly darker blue; white text retained. */
#site .draft-capability-grid article:nth-child(7){background:#073556;color:#fff}
/* Review6 final: last card centered at one column width. */
@media(min-width:900px){#site .draft-capability-grid article:last-child{width:calc((100% - 24px)/2);justify-self:center;min-height:290px}}
/* Review6: unify all three preview CTAs with the approved green button. */
#site .portfolio-preview-bridge .preview-outline,#site #necessidades .preview-start-card .preview-outline,#site #necessidades #needs-brief{background:#b6d9a5;color:#07503e;border-color:#b6d9a5}
#site .portfolio-preview-bridge .preview-outline:hover,#site #necessidades .preview-start-card .preview-outline:hover,#site #necessidades #needs-brief:hover{background:#dce5dc;color:#07503e;border-color:#dce5dc}
/* Review7: distinct sage process card, existing dark map card unchanged. */
#site .draft-capability-grid article:nth-child(6){background:#8fb99c;color:#073e31}
/* Review7: stronger same-hue highlights, preserving readable text. */
#site .draft-capability-grid article{transition:transform .22s ease,box-shadow .22s ease,background-color .22s ease;--card-highlight:#c3d8c3}
#site .draft-capability-grid article:nth-child(2){--card-highlight:#b8dce9}
#site .draft-capability-grid article:nth-child(3){--card-highlight:#f1e3c9}
#site .draft-capability-grid article:nth-child(4){--card-highlight:#99c779}
#site .draft-capability-grid article:nth-child(5){--card-highlight:#0c6b51}
#site .draft-capability-grid article:nth-child(6){--card-highlight:#abd7ba}
#site .draft-capability-grid article:nth-child(7){--card-highlight:#0b4e78}
#site .draft-capability-grid article:has(.example-link:focus-visible),#site .draft-capability-grid article:has(.example-link:active){background:var(--card-highlight)!important;filter:none;box-shadow:0 18px 36px #07503e45}
@media(hover:hover){#site .draft-capability-grid article:hover{background:var(--card-highlight)!important;filter:none;transform:translateY(-10px) scale(1.035);box-shadow:0 18px 36px #07503e45}}
@media(prefers-reduced-motion:reduce){#site .draft-capability-grid article{transition:none}#site .draft-capability-grid article:hover,#site .draft-capability-grid article:has(.example-link:focus-visible){transform:none}}
/* Review8: swap Gallery and Processes palettes, including existing highlight. */
#site .draft-capability-grid article:nth-child(2){background:#8fb99c;color:#073e31;--card-highlight:#abd7ba}
#site .draft-capability-grid article:nth-child(6){background:#deeff5;color:#07503e;--card-highlight:#b8dce9}
/* Review9: center the final portfolio concept, Ponto Aberto, on desktop only. */
@media(min-width:701px){#site #conceitos .portfolio-grid>.draft-model-choice:last-child{grid-column:1/-1;width:calc((100% - 30px)/2);justify-self:center}}
/* Restore feature grid to its state before the misidentified centering. */
@media(min-width:900px){#site .draft-capability-grid article:last-child{width:auto;justify-self:stretch;min-height:250px}}
/* Review10: five times original 5px preview lift, contained in the stage. */
@media(min-width:701px) and (hover:hover){
#site #conceitos .portfolio-card .portfolio-device-stage{transition:background-color .3s ease,border-color .3s ease}
#site #conceitos .portfolio-card .portfolio-browser{transition:transform .3s ease,box-shadow .3s ease,filter .3s ease}
#site #conceitos .portfolio-card:hover .portfolio-browser,#site #conceitos .portfolio-card:focus-visible .portfolio-browser{transform:translateY(-25px);box-shadow:0 24px 36px #193e3650,0 6px 12px #193e3630;filter:brightness(1.04) contrast(1.08)}
#site #conceitos .portfolio-card:hover .portfolio-device-stage,#site #conceitos .portfolio-card:focus-visible .portfolio-device-stage{background:#c3d8c3;border-color:#07503e88}
#site #conceitos .portfolio-card:focus-visible{outline:3px solid #007fa3;outline-offset:5px}
}
@media(prefers-reduced-motion:reduce){#site #conceitos .portfolio-card .portfolio-browser,#site #conceitos .portfolio-card:hover .portfolio-browser,#site #conceitos .portfolio-card:focus-visible .portfolio-browser{transform:none;transition:none}}
/* Corrective review: internal service options only; principal CTAs retain original design. */
#site #servicos .tags span,#site #servicos .tags .example-tag{background:#b6d9a5;color:#07503e;border-color:#b6d9a5}
