.vv-editorial {
  --editorial-ink: #18151f;
  --editorial-muted: #5e586a;
  --editorial-accent: #5930dc;
  --editorial-gap: clamp(16px, 3vw, 42px);
  --editorial-radius: clamp(12px, 1.6vw, 22px);
  color: var(--editorial-ink);
  scroll-margin-top: 100px;
}

.vv-editorial h2 {
  margin: 0;
  font: 550 clamp(32px, 4.6vw, 65px)/1.01 Outfit, sans-serif;
  letter-spacing: -.055em;
}

.vv-editorial p { line-height: 1.55; }

.vv-editorial .vv-editorial-tag {
  width: fit-content;
  margin: 0 0 15px;
  padding: 4px 9px;
  border: 1px solid currentColor;
  border-radius: 999px;
  color: var(--editorial-accent);
  font: 600 10px/1.3 Inter, sans-serif;
  letter-spacing: .07em;
}

.vv-editorial-link {
  display: inline-flex;
  width: fit-content;
  gap: 12px;
  align-items: center;
  border-radius: 999px;
  padding: 10px 15px;
  background: #191423;
  color: white;
  font: 600 12px/1.35 Inter, sans-serif;
  text-decoration: none;
}

.vv-editorial-link:hover { background: #5126ad; color: white; }

.vv-editorial-picture {
  position: relative;
  isolation: isolate;
  display: block;
  overflow: hidden;
  border-radius: var(--editorial-radius);
  background: #16101e;
  color: white;
  text-decoration: none;
}

.vv-editorial-picture img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: scale .28s ease;
}

.vv-editorial-picture:hover img { scale: 1.04; }
.vv-editorial-caption {
  position: absolute;
  inset: auto 0 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  padding: 34px clamp(10px, 1.8vw, 21px) 13px;
  background: linear-gradient(transparent, #0c0818 88%);
  color: white;
  font: 600 clamp(12px, 1.35vw, 17px)/1.35 Inter, sans-serif;
}

.vv-editorial-caption [aria-hidden] {
  flex: none;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #1e152c;
}

.vv-editorial-catalog {
  box-sizing: border-box;
  margin-bottom: clamp(30px, 4.5vw, 64px);
  padding: clamp(15px, 3vw, 42px);
  border: 1px solid #eae6f1;
  border-radius: calc(var(--editorial-radius) + 6px);
  background: #fff;
}

.vv-editorial-catalog header { display: flex; justify-content: space-between; align-items: end; gap: 15px; margin-bottom: 24px; }
.vv-editorial-catalog h2 { font-size: clamp(27px, 3.4vw, 49px); }
.vv-editorial-catalog-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(7px, 1vw, 15px); }
.vv-editorial-catalog-grid .vv-editorial-picture {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  aspect-ratio: 4 / 5.35;
  background: #08070a;
}

.vv-editorial-catalog-grid .vv-editorial-picture img {
  min-height: 0;
  object-fit: contain;
  object-position: center top;
}

.vv-editorial-catalog .vv-editorial-caption {
  position: relative;
  padding-block: clamp(7px, 1vw, 13px);
  background: #110c1b;
}

.vv-editorial-catalog-dialog .vv-gallery-media { margin-top: 14px; }
.vv-editorial-catalog-dialog .vv-gallery-media img { max-height: 72dvh; }

.vv-editorial :focus-visible { outline: 2px solid var(--editorial-accent); outline-offset: 3px; }

@media (max-width: 850px) {
  .vv-editorial-demo,.vv-editorial-showcase-head { grid-column: auto; grid-row: auto; }
  .vv-editorial-catalog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 520px) {
  .vv-editorial-catalog header { flex-direction: column; align-items: start; }
}

@media (prefers-reduced-motion: reduce) {
  .vv-editorial-picture img { transition: none; }
  .vv-editorial-picture:hover img { scale: 1; }
}

.vv-editorial-flow.commerce-main {
  --flow-type: var(--vv-body-font, Inter, sans-serif);
  --flow-ink: #19171e;
  box-sizing: border-box;
  width: 100%;
  margin-block: clamp(14px, 2.8vw, 38px) 0;
  padding: clamp(38px, 5.2vw, 80px) clamp(20px, 4.4vw, 68px) clamp(44px, 7vw, 102px);
  background: #fff;
  color: var(--flow-ink);
}

.vv-editorial-flow #demos-creativas {
  max-width: 1150px;
  margin-inline: auto;
}

.vv-flow-intro {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr);
  align-items: center;
  gap: clamp(26px, 4vw, 64px);
}

.vv-flow-intro .vv-flow-lead h2 {
  font: 490 clamp(38px, 4.45vw, 67px)/.98 var(--flow-type);
  letter-spacing: -.07em;
  text-transform: uppercase;
  text-wrap: balance;
}

.vv-flow-player {
  min-width: 0;
  scroll-margin-top: 104px;
}

.vv-editorial-demo-panel[hidden] { display: none; }

.vv-flow-intro-copy {
  margin-top: clamp(16px, 2vw, 26px);
  max-width: 35ch;
}

.vv-flow-intro-copy p {
  margin: 0 0 15px;
  color: var(--editorial-muted);
  font-size: clamp(14px, 1.15vw, 17px);
}

.vv-flow-intro-copy .vv-editorial-link {
  gap: 7px;
  padding: 0 0 3px;
  border-bottom: 1px solid currentColor;
  border-radius: 0;
  background: transparent;
  color: var(--flow-ink);
}

.vv-flow-intro-copy .vv-editorial-link:hover { color: var(--editorial-accent); }

.vv-flow-intro .vv-flow-statement {
  margin: 0 0 12px;
  color: var(--editorial-accent);
  font: 600 13px/1.4 var(--flow-type);
}

.vv-flow-screen {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  background: #110d1d;
}

.vv-flow-screen :is(video, img) {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: contain;
}

.vv-flow-play {
  position: absolute;
  inset: auto 10px 10px auto;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid #fffb;
  border-radius: 50%;
  background: #171420d9;
  color: #fff;
  cursor: pointer;
  font: 500 17px/1 var(--flow-type);
  text-decoration: none;
}

.vv-flow-play[hidden] { display: none; }
.vv-flow-play:hover { background: #fff; color: var(--flow-ink); }
.vv-flow-screen .vv-flow-play:focus-visible { outline-color: #fff; }
.vv-flow-play[data-editorial-play]::before {
  content: "";
  width: 11px;
  height: 12px;
  margin-inline-start: 2px;
  background: currentColor;
  clip-path: polygon(0 0, 100% 50%, 0 100%);
}

.vv-flow-description { padding-top: 12px; }
.vv-flow-description h3 {
  margin: 0;
  font: 540 clamp(16px, 1.52vw, 20px)/1.17 var(--flow-type);
  letter-spacing: -.032em;
}
.vv-flow-description p { margin: 5px 0 0; color: var(--editorial-muted); font-size: 13px; }

.vv-flow-index {
  margin-top: clamp(24px, 4vw, 51px);
}

.vv-flow-index h3 {
  margin: 0 0 14px;
  font: 550 clamp(19px, 2.1vw, 27px)/1.2 var(--flow-type);
  letter-spacing: -.035em;
}

.vv-editorial-tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(9px, 1.3vw, 18px);
}

.vv-flow-tile {
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 9px;
  min-width: 0;
  padding: clamp(6px, .7vw, 10px);
  border: 1px solid #e6e1ed;
  border-radius: 13px;
  background: #fff;
  color: var(--flow-ink);
  cursor: pointer;
  text-align: start;
}

.vv-flow-thumb {
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border-radius: 7px;
  background: #191222;
}

.vv-flow-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: scale .25s ease;
}

.vv-flow-tile:hover img { scale: 1.035; }
.vv-flow-tab-caption {
  display: grid;
  align-content: start;
  gap: 4px;
  padding: 2px 4px 5px;
}
.vv-flow-tab-name {
  font: 650 clamp(14px, 1.22vw, 17px)/1.2 var(--flow-type);
}
.vv-flow-tab-copy {
  color: var(--editorial-muted);
  font: 400 13px/1.45 var(--flow-type);
}

.vv-flow-tile:hover,
.vv-flow-tile[aria-selected=true] { border-color: var(--editorial-accent); }
.vv-flow-tile[aria-selected=true] { background: #f8f5ff; }
.vv-flow-tile[aria-selected=true] .vv-flow-tab-name { color: var(--editorial-accent); }

@media (max-width: 780px) {
  .vv-flow-intro { grid-template-columns: minmax(0, 1fr); }
  .vv-flow-intro .vv-flow-lead h2 { max-width: 16ch; text-wrap: initial; }
  .vv-editorial-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (prefers-reduced-motion: reduce) {
  .vv-flow-thumb img { transition: none; }
  .vv-flow-tile:hover img { scale: 1; }
}
