/* eStracta — notebook viewport refinement, 2026-10-14
   Additive layout-only layer. Does not change Lovable content, assets or motion logic.
   Target: 1280–1600px laptops around 90% browser zoom; preserve mobile baseline.
*/
@media (min-width: 960px) and (max-width: 1700px) {
 .es-page{--es-fit-h:clamp(620px,86svh,770px)}
 .es-page .es-wrap{width:min(calc(100% - 104px),1320px)}
 .es-page .es-section{padding-block:clamp(44px,6.2vh,70px)}
 .es-page .es-title{font-size:clamp(33px,3.35vw,57px);line-height:1.075}
 .es-page .es-paragraph,.es-page .v15-section-copy{font-size:clamp(14px,1.06vw,17px);line-height:1.62}
 .es-page .es-eyebrow{font-size:10px;letter-spacing:.13em}
 .es-page .v15-btn{padding:11px 17px;margin-top:14px;font-size:12px}
 .es-page .v15-asset{min-height:125px;padding:17px}
 .es-page .v15-cards{gap:14px;margin-top:20px}
 .es-page .v15-cards>article{padding:19px}
 .es-page .v15-cards h3{font-size:20px;margin:10px 0 7px}
 .es-page .v15-cards p{font-size:13px;line-height:1.52}
 /* Hero: reduce text scale, visual scene, and large empty baseline. */
 .es-page #top.es-hero-full{min-height:0!important}
 .es-page #top .es-hero-layout{min-height:min(72svh,610px);padding-block:clamp(44px,6vh,66px);grid-template-columns:minmax(0,55%) minmax(0,45%)}
 .es-page #top .es-hero-title,.es-page #top .v15-hero{font-size:clamp(39px,4.05vw,67px)!important;line-height:1.06!important;letter-spacing:-.05em}
 .es-page #top .es-intro{font-size:clamp(13px,1vw,15px);line-height:1.65;margin-top:20px!important;max-width:550px}
 .es-page #top .es-actions{margin-top:23px;gap:10px}
 .es-page #top .es-hero-baseline{margin-top:36px}
 .es-page #top .es-hero-scene{min-height:400px;max-height:570px}
 .es-page #top .es-hero-bottom{padding-top:12px;padding-bottom:14px}
 /* Logos / recognition: remove rigid 768px floor. */
 .es-page #clientes{min-height:0!important;padding:clamp(40px,6vh,62px) 0 clamp(45px,6.5vh,68px)!important}
 .es-page #clientes h2{font-size:clamp(31px,3.4vw,52px)!important;line-height:1.08}
 .es-page #clientes .es-client-marquees{margin-top:26px}
 .es-page #clientes .es-client-logo-row{max-height:112px}
 .es-page #clientes .es-client-logo img{max-height:58px;width:auto;object-fit:contain}
 /* Operational problem: scale panel and sticky typography without truncating rows. */
 .es-page #por-que-estracta{min-height:0!important;padding:clamp(42px,6vh,65px) 0!important}
 .es-page #por-que-estracta>.es-wrap{width:min(calc(100% - 100px),1380px);gap:3.7%}
 .es-page #por-que-estracta .es-title{font-size:clamp(31px,3.2vw,52px)!important}
 .es-page #por-que-estracta .v15-section-copy{font-size:clamp(13px,1vw,15px);line-height:1.58;margin:13px 0}
 .es-page #por-que-estracta .v15-problem-grid div{padding:10px 13px;font-size:12px;line-height:1.45}
 .es-page #por-que-estracta .es-problem-panel{padding:17px}
 /* Integrated product interaction: keep images and carousel effects. */
 .es-page #solucoes{min-height:0!important;padding:clamp(48px,6vh,68px) 26px 50px!important}
 .es-page #solucoes .es-sx-in{max-width:1320px;margin-inline:auto}
 .es-page #solucoes .es-sx-h{font-size:clamp(32px,3.5vw,54px)!important;line-height:1.08}
 .es-page #solucoes .es-sx-p{font-size:clamp(13px,1vw,16px)!important;line-height:1.55}
 .es-page #solucoes .es-sx-stage{transform-origin:center center}
 .es-page #solucoes .es-sx-view{max-height:clamp(260px,39vh,370px)}
 .es-page #solucoes .es-sx-img{max-height:100%;object-fit:contain}
 .es-page #solucoes .v15-product-details{margin-bottom:35px}
 .es-page #solucoes .v15-product-copy{padding:20px 25px}
 .es-page #solucoes .v15-product-copy p,.es-page #solucoes .v15-product-copy li{font-size:13px;line-height:1.56}
 .es-page #solucoes .v15-product-copy li{margin:6px 0}
 /* Case media, cinematic background & animated dots remain intact. */
 .es-page #cases.es-v11-case{min-height:0!important;padding:clamp(48px,6.3vh,75px) 0!important}
 .es-page #cases .es-v11-layout{min-height:0!important;width:min(calc(100% - 116px),1280px);gap:clamp(28px,3vw,50px)}
 .es-page #cases .es-v11-media{height:clamp(320px,54vh,465px)!important}
 .es-page #cases .es-v11-title{font-size:clamp(33px,3.65vw,53px)!important;line-height:1.06}
 .es-page #cases .es-v11-summary{font-size:14px;line-height:1.6}
 .es-page #cases .es-v11-stat{min-height:70px;margin-top:18px}
 .es-page #cases .es-v11-stat-number{font-size:clamp(59px,6vw,90px)}
 .es-page #cases .v15-cards{margin-top:24px}
 /* Governance: keep the Lovable stage, connection animations, cards and copy visibility as-is. */
 .es-page #human-first{min-height:0!important;padding:clamp(45px,6vh,68px) 0!important}
 .es-page #human-first .es-title{font-size:clamp(35px,3.65vw,58px)!important}
 .es-page #human-first .es-section-header{margin-bottom:22px}
 .es-page #human-first .es-governance-stage{max-height:min(48svh,430px)}
 .es-page #human-first .v15-cards{margin-top:18px}
 /* Metrics background image stays as designed. */
 .es-page #resultados{min-height:0!important;padding:clamp(50px,6.2vh,75px) 0!important}
 .es-page #resultados .es-title{font-size:clamp(36px,3.7vw,62px)!important}
 .es-page #resultados .v15-metrics{margin-top:28px;gap:20px}
 .es-page #resultados .v15-metrics strong{font-size:clamp(36px,3.4vw,57px)}
 .es-page #resultados .v15-metrics p{font-size:15px}
 /* Team and lead generation: natural heights, improved density. */
 .es-page #es-v15-team{min-height:0;padding:clamp(50px,6vh,72px) 0!important}
 .es-page #es-v15-team .v15-cards{margin-top:24px}
 .es-page #es-v15-team .v15-asset{min-height:150px}
 .es-page #conversa{min-height:0;padding:clamp(48px,6vh,68px) 0!important}
 .es-page .es-faq{padding-block:clamp(45px,6vh,65px)}
 .es-page .es-faq-list details{padding:14px 0}
 .es-page .es-faq-list summary{font-size:16px}
 /* Security: slightly lower cards, no text clipping. */
 .es-page #seguranca{min-height:0!important;padding:clamp(48px,6vh,68px) 0!important}
 .es-page #seguranca .v15-cards{margin-top:23px}
 .es-page #seguranca .v15-cards>article{padding:17px}
 /* Final animated CTA: canvas is untouched. */
 .es-page #cta-final.es-end-cta.es-end-cta-motion{min-height:clamp(470px,64svh,570px)!important;padding:clamp(62px,8vh,86px) 0 55px!important}
 .es-page #cta-final .es-end-inner h2{font-size:clamp(37px,4.55vw,65px)!important;line-height:1.08}
 .es-page #cta-final .es-end-inner>p:not(.es-eyebrow){font-size:14px;line-height:1.65;margin-top:17px!important}
 .es-page #cta-final .es-end-inner .es-btn-green{min-height:49px!important;margin-top:23px!important;font-size:14px!important}
}
@media (min-width:960px) and (max-height:800px){
 .es-page #top .es-hero-layout{min-height:540px;padding-block:35px}
 .es-page #top .es-hero-scene{min-height:380px}
 .es-page #clientes{padding-block:38px!important}
 .es-page #cases .es-v11-media{height:390px!important}
 .es-page #cases.es-v11-case{padding-block:45px!important}
 .es-page #solucoes .es-sx-view{max-height:295px}
}
@media (max-width:959px){
 /* Keep the mobile/tablet experience and Lovable-specific styles unchanged. */
}

/* V2: wider side gutters and more open negative space at section transitions.
   Motion and content layers from Lovable stay unchanged. */
@media (min-width: 960px) {
  .es-page .es-wrap{width:min(calc(100% - clamp(112px,13vw,250px)),1240px)}
  .es-page #top .es-wrap{width:min(calc(100% - clamp(104px,11vw,210px)),1320px)}
  .es-page #por-que-estracta>.es-wrap{width:min(calc(100% - clamp(112px,13vw,250px)),1240px)}
  .es-page #cases .es-v11-layout{width:min(calc(100% - clamp(112px,13vw,250px)),1240px)}
  .es-page #solucoes .es-sx-in{max-width:min(1240px,calc(100% - clamp(40px,8vw,175px)))}
  .es-page #clientes .es-trust-heading{width:min(calc(100% - clamp(112px,13vw,250px)),1240px)}
  .es-page .es-section{padding-top:clamp(64px,8vh,102px);padding-bottom:clamp(64px,8vh,102px)}
  .es-page #clientes{padding-top:clamp(68px,8vh,90px)!important;padding-bottom:clamp(68px,8vh,90px)!important}
  .es-page #por-que-estracta{padding-top:clamp(65px,8vh,92px)!important;padding-bottom:clamp(65px,8vh,92px)!important}
  .es-page #solucoes{padding-top:clamp(68px,8.5vh,96px)!important;padding-bottom:clamp(65px,8vh,92px)!important}
  .es-page #cases.es-v11-case{padding-top:clamp(68px,8vh,94px)!important;padding-bottom:clamp(68px,8vh,94px)!important}
  .es-page #human-first{padding-top:clamp(70px,8.5vh,98px)!important;padding-bottom:clamp(70px,8.5vh,98px)!important}
  .es-page #resultados{padding-top:clamp(70px,8.5vh,98px)!important;padding-bottom:clamp(70px,8.5vh,98px)!important}
  .es-page #es-v15-team,.es-page #conversa,.es-page #seguranca{padding-top:clamp(72px,8.5vh,105px)!important;padding-bottom:clamp(72px,8.5vh,105px)!important}
  .es-page .es-faq{padding-top:clamp(68px,8vh,95px);padding-bottom:clamp(68px,8vh,95px)}
  .es-page #cta-final.es-end-cta.es-end-cta-motion{padding-top:clamp(78px,9vh,112px)!important;padding-bottom:clamp(65px,8vh,92px)!important}
  /* Each chapter receives internal breathing space; never scale graphics or alter transitions. */
  .es-page #solucoes .v15-product-details{padding-top:clamp(14px,2.5vh,24px)}
  .es-page #cases .v15-cards{margin-top:clamp(30px,4vh,48px)}
  .es-page #resultados .v15-metrics{margin-top:clamp(35px,4.5vh,56px)}
  .es-page #es-v15-team .v15-cards{margin-top:clamp(30px,4vh,46px)}
  .es-page #seguranca .v15-cards{margin-top:clamp(30px,4vh,46px)}
}
@media (min-width: 960px) and (max-width: 1180px) {
  .es-page .es-wrap,.es-page #por-que-estracta>.es-wrap,.es-page #cases .es-v11-layout{width:calc(100% - 104px)}
}
/* Soft proximity only: avoid mandatory scroll locks, preserve free access to long chapters.
   Offset accounts for the persistent header. */
@media (min-width:960px) and (prefers-reduced-motion:no-preference){
  html{scroll-padding-top:clamp(62px,8vh,94px)}
  .es-page section[id]{scroll-margin-top:clamp(62px,8vh,94px)}
}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto!important}}
