/* Dizit Vitrine: página resumo (/vitrine) e landing page (/lp/vitrine). A base das LPs vem de marketing.css. */

/* Abertura: a foto da vitrine ocupa o fundo e se desfaz em branco atrás do texto */
.vt-hero-stage{
  position:relative;
  display:flex;
  align-items:center;
  min-height:clamp(580px,calc(100vh - 84px - 150px),760px);
  padding-block:72px;
  overflow:hidden
}
.vt-hero-bg{
  position:absolute;
  inset:0;
  margin:0
}
.vt-hero-bg img{
  position:absolute;
  top:0;
  right:0;
  width:auto;
  height:100%;
  max-width:none;
  -webkit-mask-image:linear-gradient(90deg,#0000 0%,#000 36%);
  mask-image:linear-gradient(90deg,#0000 0%,#000 36%)
}
.vt-hero-bg:after{
  content:'';
  position:absolute;
  inset:0;
  background:linear-gradient(90deg,#fff 0%,#fff 22%,#ffffffb3 40%,#fff0 58%)
}
.vt-hero-bg figcaption{
  position:absolute;
  z-index:1;
  right:clamp(20px,4vw,56px);
  bottom:16px;
  padding:3px 8px;
  border-radius:4px;
  background:#ffffffd9;
  font-size:11px;
  line-height:1.6;
  color:var(--muted)
}
.vt-hero-stage>.container{
  position:relative;
  z-index:1
}
.vt-hero-copy{
  max-width:640px
}
.vt-hero-product{
  margin-bottom:14px;
  font-size:clamp(22px,2vw,28px);
  font-weight:700;
  letter-spacing:-.025em;
  line-height:1.2;
  color:var(--action)
}
.vt-hero-copy h1{
  font-size:clamp(42px,4.7vw,68px);
  line-height:1.06;
  margin-bottom:28px
}
.vt-hero-copy>p:not(.vt-hero-product){
  font-size:clamp(18px,1.6vw,22px);
  line-height:1.55;
  max-width:540px;
  color:#435568;
  margin-bottom:38px
}
.vt-hero-cta{
  min-height:60px;
  padding-inline:30px;
  font-size:17px;
  gap:28px
}
.vt-steps-band{
  background:var(--blue-soft);
  padding-block:40px
}
.vt-steps-band .vt-steps{
  padding:0;
  border-top:0
}
.vt-hero-media{
  margin:0
}
.vt-hero-media img{
  display:block;
  width:100%;
  height:auto;
  border-radius:var(--radius);
  background:var(--surface)
}
.vt-hero-media figcaption{
  margin-top:10px;
  font-size:11px;
  line-height:1.6;
  text-align:right;
  color:var(--muted)
}

/* Aproxime · Conecte · Automatize */
.vt-steps{
  margin:0;
  padding:34px 0 0;
  list-style:none;
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:36px clamp(28px,4vw,56px);
  border-top:1px solid var(--line)
}
.vt-steps li{
  display:flex;
  gap:16px;
  align-items:flex-start
}
.vt-step-icon{
  display:grid;
  place-items:center;
  width:44px;
  height:44px;
  border-radius:50%;
  background:var(--blue-soft);
  color:var(--action);
  flex-shrink:0
}
.vt-steps h3{
  font-size:20px;
  margin-bottom:6px
}
.vt-steps p{
  font-size:15px;
  line-height:1.6
}

/* Montador de módulos */
.vt-builder{
  display:grid;
  grid-template-columns:minmax(0,1fr) 330px;
  gap:clamp(40px,6vw,96px);
  align-items:start;
  margin-top:56px
}
.vt-modules{
  border:0;
  margin:0;
  padding:0;
  display:grid;
  grid-template-columns:1fr 1fr;
  column-gap:36px;
  min-width:0
}
.vt-modules legend{
  padding:0;
  font-size:20px;
  font-weight:700;
  letter-spacing:-.02em
}
.vt-modules-status{
  grid-column:1/-1;
  margin:4px 0 18px;
  font-size:13px
}
.vt-modules-status strong{
  color:var(--action);
  font-variant-numeric:tabular-nums
}
.vt-module{
  position:relative;
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:16px;
  align-items:center;
  padding:15px 0;
  border-top:1px solid #ced9e5;
  cursor:pointer
}
.vt-module input{
  position:absolute;
  opacity:0;
  width:1px;
  height:1px
}
.vt-module-copy strong{
  display:block;
  font-size:15px;
  font-weight:650;
  line-height:1.4
}
.vt-module-copy span{
  display:block;
  font-size:13px;
  line-height:1.5;
  color:var(--muted)
}
.vt-switch{
  position:relative;
  width:42px;
  height:24px;
  border-radius:12px;
  background:#c5d2e0;
  transition:background-color .2s
}
.vt-switch:after{
  content:'';
  position:absolute;
  top:3px;
  left:3px;
  width:18px;
  height:18px;
  border-radius:50%;
  background:white;
  box-shadow:0 1px 3px #13223140;
  transition:transform .3s var(--ease)
}
.vt-module:hover .vt-switch{
  background:#879fb8
}
.vt-module input:checked~.vt-switch{
  background:var(--action)
}
.vt-module input:checked~.vt-switch:after{
  transform:translateX(18px)
}
.vt-module input:focus-visible~.vt-switch{
  outline:3px solid var(--action);
  outline-offset:3px
}
.vt-builder-preview{
  margin:0
}
.vt-builder-note{
  margin-top:48px;
  text-align:center;
  font-size:15px
}

/* Celular com a página da loja fictícia */
.vt-phone{
  background:#0f1a24;
  border-radius:38px;
  padding:10px;
  box-shadow:var(--elevation)
}
.vt-screen{
  --store:#0f5b4a;
  --store-soft:#f4d9d0;
  --store-ink:#0b2e27;
  background:white;
  border-radius:29px;
  overflow:hidden;
  min-height:600px;
  padding-bottom:14px;
  color:var(--store-ink)
}
.vt-store-head{
  padding:22px 18px 12px
}
.vt-store-head strong{
  display:block;
  font-size:19px;
  letter-spacing:-.02em;
  line-height:1.2
}
.vt-store-head span{
  font-size:11px;
  color:var(--muted)
}
.vt-store-hero{
  position:relative;
  overflow:hidden;
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
  margin:0 12px;
  aspect-ratio:16/10;
  padding:16px;
  border-radius:14px;
  background:var(--store)
}
.vt-store-hero img{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover
}
.vt-store-hero:after{
  content:'';
  position:absolute;
  inset:0;
  background:linear-gradient(0deg,#0b2e27d9 0%,#0b2e2799 30%,#0b2e2700 62%)
}
.vt-store-hero span,.vt-store-hero small{
  position:relative;
  z-index:1
}
.vt-store-hero span{
  font-size:26px;
  font-weight:800;
  letter-spacing:-.035em;
  line-height:1;
  color:white
}
.vt-store-hero small{
  margin-top:6px;
  font-size:11px;
  font-weight:600;
  color:#ffffffe6
}
.vt-store-products{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:8px;
  margin:0;
  padding:12px 12px 4px;
  font-size:10px;
  font-weight:600
}
.vt-store-products img{
  display:block;
  width:100%;
  height:auto;
  aspect-ratio:1;
  object-fit:cover;
  border-radius:8px;
  margin-bottom:4px;
  background:var(--store-soft)
}
.vt-store-modules{
  margin:0;
  padding:4px 12px 0
}
.vt-store-modules li{
  display:flex;
  align-items:center;
  gap:10px;
  margin-top:7px;
  padding:9px 10px;
  border:1px solid var(--line);
  border-radius:10px
}
.vt-store-modules li[hidden]{
  display:none
}
.vt-store-modules li.is-entering{
  animation:vt-module-in .45s var(--ease)
}
@keyframes vt-module-in{
  from{
    opacity:0;
    clip-path:inset(0 0 100% 0 round 10px)
  }
  to{
    opacity:1;
    clip-path:inset(0 0 0 0 round 10px)
  }
}
.vt-store-modules li[data-module="ofertas"]{
  background:#fdf1ec;
  border-color:var(--store-soft)
}
.vt-store-modules .icon{
  width:18px;
  height:18px;
  color:var(--store)
}
.vt-store-modules strong{
  display:block;
  font-size:12px;
  line-height:1.3
}
.vt-store-modules small{
  display:block;
  font-size:10.5px;
  line-height:1.4;
  color:var(--muted)
}
.vt-store-modules .vt-row-arrow{
  width:14px;
  height:14px;
  margin-left:auto;
  transform:rotate(-90deg);
  color:#879fb8
}

/* Tipos de loja e contato */
.vt-store-types{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin:0 0 26px
}
.vt-store-types li{
  padding:6px 12px;
  border:1px solid #ced9e5;
  border-radius:6px;
  background:white;
  font-size:14px;
  font-weight:600
}
.vt-contact{
  background:white
}

/* Página resumo */
.vt-summary-media{
  padding-bottom:24px
}
.vt-summary-media .vt-steps{
  margin-top:28px
}
.vt-summary-link{
  margin-top:36px
}

@media(max-width:1100px){
  .vt-modules{
    grid-template-columns:1fr
  }
  .vt-builder{
    grid-template-columns:minmax(0,1fr) 300px
  }
}
@media(max-width:800px){
  .vt-hero-stage{
    flex-direction:column;
    align-items:stretch;
    min-height:0;
    padding-block:44px 0
  }
  .vt-hero-bg{
    position:relative;
    order:1;
    margin-top:36px;
    aspect-ratio:4/3
  }
  .vt-hero-bg img{
    position:static;
    width:100%;
    height:100%;
    object-fit:cover;
    object-position:68% 50%;
    -webkit-mask-image:none;
    mask-image:none
  }
  .vt-hero-bg:after{
    background:linear-gradient(180deg,#fff 0%,#fff0 22%)
  }
  .vt-hero-bg figcaption{
    right:20px;
    bottom:12px
  }
  .vt-steps{
    grid-template-columns:1fr
  }
  .vt-builder{
    grid-template-columns:1fr;
    margin-top:36px
  }
  .vt-builder-preview{
    order:-1;
    width:min(300px,100%);
    justify-self:center
  }
}
@media(max-width:520px){
  .vt-hero-copy>p:not(.vt-hero-product){
    font-size:17px
  }
  .vt-hero-cta{
    width:100%;
    font-size:16px;
    padding-inline:22px
  }
  .vt-hero-bg{
    aspect-ratio:1
  }
}
@media(prefers-reduced-motion:reduce){
  .vt-store-modules li.is-entering{
    animation:none
  }
  .vt-switch,.vt-switch:after{
    transition:none
  }
}
