@media(max-width:900px){
  html{scroll-padding-top:72px}
  html.vs-reveal section,html.vs-reveal footer{opacity:1!important;transform:none!important;transition:none!important}
  /* Each product presentation remains a full, scrollable section on a phone. */
  #top.vs-hv{display:grid!important;grid-template-columns:minmax(0,1fr);grid-template-rows:auto minmax(0,1fr);gap:12px;align-items:center;justify-content:initial;padding:86px 24px 20px!important;height:100svh!important;min-height:650px;max-height:none}
  #top .vs-hv-copy{grid-row:1;width:100%;max-width:520px;justify-self:center;align-self:start}
  #top .vs-hv-copy h1{font-size:clamp(30px,7.8vw,38px)!important;line-height:1.06!important;margin-bottom:12px!important}
  #top .vs-hv-copy p{font-size:17px!important;line-height:1.4!important;margin-bottom:18px!important;max-width:440px}
  #top .vs-hv-copy>div{gap:12px!important}
  #top .vs-hv-copy .btn-gold{font-size:14px;padding:13px 20px}
  #top .vs-hlink{font-size:14px!important}
  #top .vs-hv-vid,#top .vs-hv-vid.vs-hv-trio{position:relative!important;inset:auto!important;transform:none!important;grid-row:2;width:100%!important;max-width:600px;height:100%!important;min-height:0;aspect-ratio:auto;margin:0!important;object-fit:contain!important;object-position:center center;mix-blend-mode:normal;justify-self:center;align-self:center}
  #top .vs-hv-fade{display:none}
  #prova{padding:18px 0!important;margin:0!important;min-height:0}
  #solucoes{padding-top:8px!important}
  #solucoes>.vs-tile,#solucoes .home-model-tile,#solucoes .home-checkout-tile{min-height:0!important;height:auto!important;margin-top:0!important;transform:none!important;opacity:1!important}
  #solucoes .home-model-tile>.vs-tile-bg,#solucoes .home-model-tile::before,#solucoes .home-checkout-tile::before{display:none!important}
  #solucoes .home-model-panel{display:grid!important;grid-template-columns:minmax(0,1fr);grid-template-rows:auto auto auto minmax(0,1fr) auto;align-items:start;position:relative!important;width:100%;height:calc(100svh - 72px);min-height:600px;margin:0!important;padding:28px 20px 24px!important;line-height:normal!important;overflow:hidden;scroll-margin-top:0!important}
  #solucoes .home-model-copy{display:contents!important}
  #solucoes .home-model-copy>span{grid-row:1;font-size:11px!important;line-height:1.3;letter-spacing:.15em!important;margin:0 0 12px!important;text-align:left}
  #solucoes .home-model-copy>h3{grid-row:2;font-size:clamp(32px,8.7vw,42px)!important;line-height:1.05!important;margin:0!important;text-align:left;letter-spacing:-.035em!important}
  #solucoes .home-model-copy>p{grid-row:3;font-size:16px!important;line-height:1.45!important;max-width:490px!important;margin:14px 0 6px!important;text-align:left}
  #solucoes .home-model-copy>a{grid-row:5;justify-self:start;align-self:end!important;font-size:14px!important;line-height:1.3;padding:13px 24px!important;margin:12px 0 0!important}
  #solucoes .home-model-panel>video{grid-row:4;position:relative!important;inset:auto!important;display:block;width:calc(100% + 40px)!important;max-width:none!important;height:100%!important;min-height:0;margin:0 -20px;object-fit:contain!important;object-position:center;transform:none!important;opacity:1!important}
  #solucoes .home-checkout-fade{display:none!important}
  #solucoes .vs-quad4{grid-template-columns:minmax(0,1fr)!important;gap:12px;margin-top:12px}
  #solucoes .vs-qcard{min-height:600px;height:calc(100svh - 72px);padding:30px 20px 24px;display:flex;align-items:center;transform:none!important;opacity:1!important}
  #solucoes .vs-qcard h3{font-size:clamp(28px,7.6vw,36px);line-height:1.08;max-width:360px;margin:0}
  #solucoes .vs-qcard p{font-size:16px;line-height:1.4;margin-top:10px}
  #solucoes .vs-qimg{order:4;flex:1;min-height:0;margin-top:12px;padding:12px 0;width:100%;align-items:center;justify-content:center}
  #solucoes .vs-qimg video{width:100%!important;height:100%!important;max-width:100%!important;max-height:none!important;object-fit:contain!important;transform:none!important}
  #solucoes .vs-qlink{order:5;flex:none;font-size:15px;margin-top:8px}
}

/* Mobile refinement: continuous video compositions and tighter spacing. */
@media(max-width:900px){
 #top.vs-hv{display:block!important;height:calc(100svh - 44px)!important;min-height:700px!important;padding:94px 24px 0!important;isolation:isolate;background:#fff;overflow:hidden}
 #top .vs-hv-copy{position:relative;z-index:3;margin:0 auto}
 #top .vs-hero-in{animation:none!important;opacity:1!important;transform:none!important}
 #top .vs-hv-copy h1{max-width:360px}
 #top .vs-hv-copy p{max-width:360px}
 #top .vs-hv-vid,#top .vs-hv-vid.vs-hv-trio{position:absolute!important;inset:auto 0 0!important;width:100%!important;max-width:none;height:58%!important;object-fit:cover!important;object-position:center bottom;z-index:0}
 #top .vs-hv-fade{display:block;position:absolute;inset:0;z-index:1;background:linear-gradient(180deg,#fff 0%,#fff 37%,rgba(255,255,255,.95) 43%,rgba(255,255,255,.45) 52%,rgba(255,255,255,0) 65%);pointer-events:none}
 #prova{padding:0!important}
 #prova .vs-brand-ribbon{padding:12px 0!important}
 #solucoes .home-model-tile .home-model-panel{background:#efedf8;padding-top:30px!important}
 #solucoes .home-model-tile .home-model-panel>video{mask-image:linear-gradient(to bottom,transparent 0%,#000 22%,#000 82%,transparent 100%);-webkit-mask-image:linear-gradient(to bottom,transparent 0%,#000 22%,#000 82%,transparent 100%);object-fit:contain!important}
 #solucoes .vs-qcard{height:clamp(480px,72svh,620px);min-height:480px;padding:26px 20px 22px}
 #solucoes .vs-qimg{margin-top:8px;padding:6px 0}
 #solucoes .home-checkout-tile{width:100vw!important;max-width:none!important;margin-left:calc(50% - 50vw)!important;margin-right:calc(50% - 50vw)!important;border-radius:0!important}
 #solucoes .home-checkout-tile .home-model-panel{border-radius:0!important;background:#efeffb}
 #solucoes .home-checkout-tile .home-model-panel>video{object-fit:contain!important;background:#efeffb}
 #sobre .vs-mobile-about-cta{justify-self:start;margin-top:0!important}
}
@media(max-width:380px){
 #top.vs-hv{padding-left:20px!important;padding-right:20px!important}
 #top .vs-hv-copy p{font-size:16px!important}
}

/* Softer transitions and matching mobile product cards. */
@media(max-width:900px){
 #top.vs-hv::after{content:"";position:absolute;inset:auto 0 0;height:110px;z-index:2;pointer-events:none;background:linear-gradient(to bottom,rgba(255,255,255,0),#fff)}
 #solucoes .home-model-tile .home-model-panel{background:#fff!important}
 #solucoes .home-model-panel{grid-template-rows:auto auto auto auto minmax(0,1fr)}
 #solucoes .home-model-copy>a{grid-row:4;align-self:start!important;margin:14px 0 8px!important}
 #solucoes .home-model-panel>video{grid-row:5}
 #solucoes .home-checkout-tile{width:100%!important;margin-left:0!important;margin-right:0!important}
 #solucoes .home-checkout-tile .home-model-panel{height:clamp(480px,72svh,620px)!important;min-height:480px!important;padding:26px 20px 22px!important}
 #solucoes .home-checkout-fade{display:block!important;position:absolute!important;inset:auto 0 0!important;height:72px!important;background:linear-gradient(to bottom,rgba(255,255,255,0),#fff)!important;z-index:2;pointer-events:none}
}

/* Natural media height, with checkout immediately after the complete line. */
@media(max-width:900px){
 #solucoes{display:flex;flex-direction:column}
 #solucoes>div{display:contents!important}
 #solucoes .vs-sol-grid{order:1;margin:0 12px!important}
 #solucoes .home-checkout-tile{order:2;width:calc(100% - 24px)!important;margin:12px 12px 0!important}
 #solucoes .vs-quad4{order:3;margin:12px 12px 0!important}
 #solucoes .home-model-panel,#solucoes .home-checkout-tile .home-model-panel{height:auto!important;min-height:0!important;grid-template-rows:auto auto auto auto auto;padding-bottom:12px!important;background:#fff!important}
 #solucoes .home-model-panel>video,#solucoes .home-checkout-tile .home-model-panel>video{height:auto!important;aspect-ratio:auto!important;align-self:start;object-fit:contain!important;background:#fff!important;margin-top:0!important;mask-image:linear-gradient(to bottom,transparent 0%,#000 7%,#000 85%,transparent 100%);-webkit-mask-image:linear-gradient(to bottom,transparent 0%,#000 7%,#000 85%,transparent 100%)}
 #solucoes .home-model-copy>a{margin-bottom:6px!important}
 #solucoes .home-checkout-fade{display:none!important}
}

/* Hero background trial and clean, smaller product cards. */
@media(max-width:900px){
 #top.vs-hv{padding-top:112px!important}
 #top .vs-hv-vid,#top .vs-hv-vid.vs-hv-trio{inset:0!important;height:100%!important;object-fit:cover!important;object-position:center;opacity:.78!important}
 #top .vs-hv-fade{background:linear-gradient(180deg,rgba(255,255,255,.92) 0%,rgba(255,255,255,.78) 20%,rgba(255,255,255,.65) 44%,rgba(255,255,255,.12) 72%,rgba(255,255,255,0) 100%)}
 #top .vs-hv-copy h1{margin-bottom:24px!important;line-height:1.1!important}
 #top .vs-hv-copy p{margin-bottom:28px!important;line-height:1.5!important}
 #top .vs-hv-copy>div{gap:18px!important}
 #solucoes .home-model-panel>video,#solucoes .home-model-tile .home-model-panel>video,#solucoes .home-checkout-tile .home-model-panel>video{mask-image:none!important;-webkit-mask-image:none!important;filter:none!important}
 #solucoes .vs-qcard{height:clamp(420px,62svh,540px)!important;min-height:420px!important;padding:24px 20px 20px}
}

/* Center the hero copy and reframe each product shot independently. */
@media(max-width:900px){
 #top.vs-hv{padding-top:clamp(170px,23svh,220px)!important}
 #top .vs-hv-copy h1{font-size:clamp(36px,9.6vw,42px)!important;margin-bottom:28px!important}
 #top .vs-hv-copy p{margin-bottom:32px!important}
 #top .vs-hv-copy>div{gap:20px!important}
}

.vs-eco-title-mobile,.vs-eco-stat-mobile{display:none}
@media(max-width:900px){
 #top.vs-hv{height:calc(100svh - 100px)!important;min-height:0!important}
 #solucoes .home-model-panel>video,#solucoes .home-checkout-tile .home-model-panel>video{margin-top:18px!important}
 #solucoes .home-model-panel,#solucoes .home-checkout-tile .home-model-panel{padding-bottom:0!important}
 #solucoes .vs-qcard{height:clamp(400px,58svh,510px)!important;min-height:400px!important}
 .vs-cmp-labels{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:0 0 12px}
 #problema .vs-cmp-labels .vs-ba-tag{position:static;display:block;opacity:1!important;transform:none;padding:8px 0;background:none;backdrop-filter:none;text-align:center;color:#303034;font-size:11px;letter-spacing:.04em;border-radius:0}
 #problema .vs-ba{margin-bottom:12px}
 #problema .vs-ba-copy{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
 #problema .vs-cmp-copy{padding:14px 0 0;opacity:1!important}
 #problema .vs-cmp-eyebrow{display:none}
 #problema .vs-cmp-copy h3{font-size:19px;line-height:1.2;margin-bottom:10px}
 #problema .vs-cmp-desc{font-size:13px;line-height:1.45}
 .vs-eco{padding:56px 24px!important}
 .vs-eco .vs-eco-inner{display:flex!important;flex-direction:column;gap:0!important;text-align:left!important}
 .vs-eco-copy{display:contents}
 .vs-eco-copy>p:first-child{order:1;align-self:flex-start;margin-bottom:14px!important}
 .vs-eco-copy>h2{order:2;width:100%;font-size:clamp(22px,6.4vw,32px)!important;line-height:1.14!important;margin-bottom:18px!important;text-align:left}
 .vs-eco-title-desktop{display:none}
 .vs-eco-title-mobile{display:block;white-space:nowrap}
 .vs-eco-copy>p:not(:first-child){order:3;font-size:16px!important;line-height:1.5!important;margin:0 0 22px!important}
 .vs-eco-media{order:4;width:100%;margin-bottom:20px}
 .vs-eco-media>img{width:100%!important;max-width:360px!important;height:470px!important;max-height:62svh;object-fit:contain;display:block}
 .vs-eco-stats{order:5;display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:8px!important;width:100%;max-width:none!important;margin:0 0 22px!important}
 .vs-eco-stats>div{aspect-ratio:1;min-width:0;padding:8px!important;border-radius:12px!important;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center}
 .vs-eco-stats svg{width:18px;height:18px;flex-shrink:0;margin-bottom:5px!important}
 .vs-eco-stats b{font-size:clamp(14px,3.8vw,20px)!important;line-height:1.05!important;white-space:nowrap}
 .vs-eco-stat-desktop{display:none!important}
 .vs-eco-stat-mobile{display:block;margin-top:5px;font-size:clamp(9px,2.65vw,12px);line-height:1.2;color:#6b7075}
 .vs-eco-copy>a{order:6;align-self:flex-start}
}

@media(max-width:900px){.vs-eco-stats>div,.vs-eco-stats>div:hover{transform:none!important}}

/* Matching mobile video frames without cropping the product group. */
@media(max-width:900px){
 #solucoes .home-model-panel>video,#solucoes .home-checkout-tile .home-model-panel>video{aspect-ratio:832/680!important;object-fit:contain!important;object-position:center!important}
}

/* Preserve the checkout video’s native proportions and remove empty frame space. */
@media(max-width:900px){
 #solucoes .home-checkout-tile .home-model-panel>video{aspect-ratio:auto!important;object-fit:contain!important;height:auto!important}
}

/* Aligned calls to action and a compact single-screen EcoKiosk presentation. */
@media(max-width:900px){
 #solucoes .home-model-copy>a{display:inline-flex!important;align-items:center;justify-content:center;box-sizing:border-box;width:164px!important;max-width:100%;min-height:44px;text-align:center;padding-left:18px!important;padding-right:18px!important}
 .vs-eco{padding:24px!important}
 .vs-eco-copy>p:first-child{margin-bottom:8px!important}
 .vs-eco-copy>h2{margin-bottom:12px!important}
 .vs-eco-copy>p:not(:first-child){font-size:15px!important;line-height:1.45!important;margin-bottom:12px!important}
 .vs-eco-media{--eco-media-height:clamp(230px,calc(100svh - 494px),350px);position:relative;height:var(--eco-media-height);overflow:hidden;margin-bottom:12px;flex:none}
 .vs-eco-media>img{position:absolute!important;left:0;top:calc(var(--eco-media-height) * -.16);width:100%!important;height:calc(var(--eco-media-height) * 1.34)!important;max-height:none!important;max-width:none!important;object-fit:contain!important}
 .vs-eco-stats{margin-bottom:12px!important}
}

/* v56: mobile hero = copy on clean white, full-width 16:9 video below (no overlay, no crop). */
@media(max-width:900px){
 #top.vs-hv{display:flex!important;flex-direction:column!important;align-items:stretch!important;justify-content:flex-start!important;height:auto!important;min-height:0!important;padding:120px 24px 0!important}
 #top .vs-hv-copy{order:1;position:relative;z-index:2;margin:0 auto!important;width:100%}
 #top .vs-hv-vid,#top .vs-hv-vid.vs-hv-trio{order:2;position:relative!important;inset:auto!important;transform:none!important;display:block;width:calc(100% + 48px)!important;max-width:none!important;height:auto!important;aspect-ratio:16/9;margin:32px -24px 0!important;object-fit:cover!important;object-position:center!important;opacity:1!important;z-index:1}
 #top .vs-hv-fade{display:none!important}
 #top.vs-hv::after{display:none!important}
}
@media(max-width:380px){#top .vs-hv-vid,#top .vs-hv-vid.vs-hv-trio{width:calc(100% + 40px)!important;margin:28px -20px 0!important}}

/* v56b: blend the mobile hero video into the white page at top and bottom. */
@media(max-width:900px){
 #top .vs-hv-vid,#top .vs-hv-vid.vs-hv-trio{-webkit-mask-image:linear-gradient(180deg,transparent 0%,#000 22%,#000 78%,transparent 100%)!important;mask-image:linear-gradient(180deg,transparent 0%,#000 22%,#000 78%,transparent 100%)!important}
}

/* A máscara permanece fixa enquanto o vídeo se aproxima: sem bordas no branco. */
.vs-hv-media{display:contents}
@media(max-width:900px){
 #top .vs-hv-media{display:block;order:2;position:relative;width:calc(100% + 48px);aspect-ratio:16/9;margin:32px -24px 0;overflow:hidden;z-index:1;-webkit-mask-image:linear-gradient(180deg,transparent 0%,#000 22%,#000 78%,transparent 100%);mask-image:linear-gradient(180deg,transparent 0%,#000 22%,#000 78%,transparent 100%)}
 #top .vs-hv-media .vs-hv-vid,#top .vs-hv-media .vs-hv-vid.vs-hv-trio{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;margin:0!important;-webkit-mask-image:none!important;mask-image:none!important}
}
@media(max-width:380px){#top .vs-hv-media{width:calc(100% + 40px);margin:28px -20px 0}}

/* Mobile: vídeo completo com enquadramento pronto no próprio arquivo. */
@media(max-width:900px){
 #top .vs-hv-media{aspect-ratio:1/1}
 #top .vs-hv-media .vs-hv-vid,#top .vs-hv-media .vs-hv-vid.vs-hv-trio{transform:none!important;transition:none!important;object-position:center!important}
}

/* Acabamento branco fixo, independente do movimento do vídeo. */
@media(max-width:900px){
 #top .vs-hv-media{-webkit-mask-image:none;mask-image:none}
 #top .vs-hv-media::after{content:"";position:absolute;inset:0;z-index:2;pointer-events:none;background:linear-gradient(180deg,#fff 0%,#fff 21.875%,rgba(255,255,255,0) 34.25%,rgba(255,255,255,0) 65.75%,#fff 78.125%,#fff 100%)}
}

/* Mesmo acabamento nos dois trechos, respeitando a área de imagem de cada um. */
@media(max-width:900px){
 #top .vs-hv-media.vs-hv-group::after{background:linear-gradient(180deg,#fff 0%,rgba(255,255,255,0) 28%,rgba(255,255,255,0) 72%,#fff 100%)}
}

/* Aproxima o vídeo dos links e da faixa de clientes apenas no celular. */
@media(max-width:900px){
 #top.vs-hv{row-gap:0!important}
 #top .vs-hv-media{aspect-ratio:4/3;margin-top:4px;margin-bottom:0}
 #top .vs-hv-media::after{background:linear-gradient(180deg,#fff 0%,#fff 12.5%,rgba(255,255,255,0) 29%,rgba(255,255,255,0) 71%,#fff 87.5%,#fff 100%)}
 #top .vs-hv-media.vs-hv-group::after{background:linear-gradient(180deg,#fff 0%,rgba(255,255,255,0) 18%,rgba(255,255,255,0) 82%,#fff 100%)}
}

/* v97: mesmo vídeo aprovado do desktop, inteiro no quadro mobile. */
@media(max-width:900px){
 #top .vs-hv-media{background:#fff}
 #top .vs-hv-media .vs-hv-vid,#top .vs-hv-media .vs-hv-vid.vs-hv-trio{object-fit:contain!important}
}
