@font-face {
    font-family: "Space Inter";
    src: url("fonts/space-inter-variable.woff2") format("woff2");
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

.erp-banner {
    container-type: inline-size;
    text-decoration: none;
}

.erp-banner:focus-visible {
    outline: 3px solid #2554ff;
    outline-offset: 3px;
}

.erp-banner .zpl-bf {
    --bf-blue: #2554ff;
    --bf-ease: cubic-bezier(.2,.65,.26,1);
    --bf-notebook-width: 0.73;
    position: relative;
    display: grid;
    grid-template-columns: 61% 39%;
    grid-template-rows: repeat(3, max-content);
    align-content: center;
    align-items: center;
    row-gap: 1.15cqw;
    aspect-ratio: 2171 / 543;
    overflow: hidden;
    background: #000;
    color: #fff;
    font: 400 16px/1.5 "Space Inter", Inter, system-ui, sans-serif;
    text-decoration: none;
}

.zpl-bf-copy {
    display: contents;
}

.zpl-bf-copy > div {
    grid-column: 1;
    z-index: 1;
}

.zpl-bf .bf-identity {
    grid-row: 1;
    grid-auto-flow: column;
    align-items: center;
    justify-content: start;
    gap: 1.8cqw;
    padding-inline-start: 4.35cqw;
}

.zpl-bf .bf-title {
    font-size: 5.55cqw;
    white-space: nowrap;
}

.zpl-bf .bf-wordmark {
    width: 16.2cqw;
    margin-top: 0;
}

.zpl-bf .bf-hero-offers {
    grid-row: 2;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    justify-self: center;
    max-width: 45cqw;
    margin: 0;
}

.zpl-bf .bf-offer {
    gap: 0.17cqw;
    padding-inline: 0.5cqw;
}

.zpl-bf .bf-offer > strong { font-size: 1.59cqw; }
.zpl-bf .bf-offer-trial > strong { font-size: 2.04cqw; }
.zpl-bf .bf-offer-benefit { font-size: 1.38cqw; }
.zpl-bf .bf-offer-note { font-size: 0.92cqw; }

.zpl-bf .bf-hero-actions {
    grid-row: 3;
    justify-self: center;
    gap: 0.78cqw;
    margin: 0;
}

.zpl-bf .bf-hero-timer { gap: 0.36cqw; }
.zpl-bf .bf-timer-label { font-size: 0.94cqw; }
.zpl-bf .bf-hero-timer .bf-clock { gap: 0.42cqw; }

.zpl-bf .bf-hero-timer .bf-clock span {
    width: 3.42cqw;
    min-width: 0;
    row-gap: 0.15cqw;
}

.zpl-bf .bf-hero-timer .bf-clock span::before {
    height: 2.64cqw;
    border-radius: 0.4cqw;
}

.zpl-bf .bf-hero-timer .bf-clock b { font-size: 2.05cqw; }
.zpl-bf .bf-hero-timer .bf-clock small { font-size: 0.72cqw; }

.zpl-bf .bf-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8cqw 1.75cqw;
    border-radius: 999px;
    background: var(--bf-blue);
    color: #fff;
    font-size: 1.16cqw;
    font-weight: 580;
    line-height: 1.35;
    white-space: nowrap;
}

.erp-banner:hover .bf-action {
    background: #163bd5;
}

@media (max-width: 768px) {
    .erp-banner .zpl-bf {
        --bf-notebook-width: 0.95;
        grid-template-columns: 64% 36%;
        aspect-ratio: 1774 / 887;
        row-gap: 1.65cqw;
    }

    .zpl-bf .bf-identity { gap: 1.6cqw; padding-inline-start: 3cqw; }
    .zpl-bf .bf-title { font-size: 6.1cqw; }
    .zpl-bf .bf-title-outline {
        filter: url(#zpl-bf-title-stroke-mobile) drop-shadow(0 0 3px #6d9affb0) drop-shadow(0 0 7px #3e67ff65);
    }
    .zpl-bf .bf-wordmark { width: 16.65cqw; }
    .zpl-bf .bf-hero-offers { max-width: 60cqw; }
    .zpl-bf .bf-offer { gap: 0.32cqw; padding-inline: 0.65cqw; }
    .zpl-bf .bf-offer > strong { font-size: max(9px, 2.64cqw); }
    .zpl-bf .bf-offer-trial > strong { font-size: max(10px, 3.2cqw); }
    .zpl-bf .bf-offer-benefit { font-size: max(8px, 2.39cqw); }
    .zpl-bf .bf-offer-note { font-size: max(7px, 1.84cqw); }
    .zpl-bf .bf-hero-actions { gap: 1.2cqw; }
    .zpl-bf .bf-hero-timer { gap: 0.5cqw; }
    .zpl-bf .bf-timer-label { font-size: max(7px, 1.95cqw); }
    .zpl-bf .bf-hero-timer .bf-clock { gap: 0.72cqw; }
    .zpl-bf .bf-hero-timer .bf-clock span { width: 5.7cqw; row-gap: 0.22cqw; }
    .zpl-bf .bf-hero-timer .bf-clock span::before { height: 5.14cqw; border-radius: 0.8cqw; }
    .zpl-bf .bf-hero-timer .bf-clock b { font-size: 3.85cqw; }
    .zpl-bf .bf-hero-timer .bf-clock small { font-size: max(7px, 1.75cqw); }
    .zpl-bf .bf-action { padding: 1.4cqw 2.55cqw; font-size: max(9px, 2.5cqw); }

    .zpl-bf .zpl-bf-phone-position { margin-top: 2.5cqw; }
    .zpl-bf .zpl-bf-laptop { margin-inline-start: -7%; }
    .zpl-bf .zpl-bf-phone { width: 30%; right: 12%; bottom: -4cqw; border-radius: 1.8cqw; }
    .zpl-bf .zpl-bf-phone img { border-radius: 1.35cqw; }
}

@media (max-width: 360px) {
    .erp-banner .zpl-bf { row-gap: 1.2cqw; }
    .zpl-bf .bf-offer { gap: 0; }
    .zpl-bf .bf-offer-note { line-height: 1.18; }
    .zpl-bf .bf-hero-actions { gap: 0.9cqw; }
    .zpl-bf .bf-hero-timer { line-height: 1.2; }
    .zpl-bf .bf-action { padding-block: 1.15cqw; }
}

/* Identidade e sequência da campanha do Space ERP. */
.bf-identity { display: grid; justify-items: center; text-align: center; }
.bf-title-effects { position: absolute; pointer-events: none; }
.bf-title {
  display: flex;
  justify-content: center;
  gap: .17em;
  margin: 0;
  color: #f4f7ff;
  font-size: clamp(54px, 8.2vw, 116px);
  font-weight: 840;
  line-height: .96;
  letter-spacing: -.026em;
  text-transform: uppercase;
}
.bf-title-outline {
  color: #a9c2ff;
  letter-spacing: 0;
  filter: url(#zpl-bf-title-stroke) drop-shadow(0 0 4px #6d9affb0) drop-shadow(0 0 11px #3e67ff65);
}
.bf-title-fill {
  color: #f8faff;
  text-shadow: 0 0 6px #cddfff70, 0 0 17px #6394ff80;
}
.bf-wordmark {
  position: relative;
  width: clamp(195px, 25vw, 340px);
  aspect-ratio: 3.9564;
  margin-top: clamp(11px, 2.1vh, 23px);
}
.bf-wordmark::before {
  position: absolute;
  inset: -52% -28%;
  background: radial-gradient(ellipse 46% 38% at 48% 50%, #426bff82, #2f5dfd32 55%, transparent);
  filter: blur(9px);
  pointer-events: none;
  content: "";
}
.bf-wordmark svg { position: relative; width: 100%; height: 100%; overflow: visible; }
.bf-glyph {
  --bf-edge: #7a9eff;
  --bf-letter-glow: #305cfb;
  filter: drop-shadow(0 0 3px var(--bf-letter-glow));
}
.bf-glyph-erp { --bf-edge: #e9f2ff; --bf-letter-glow: #7f9eff; }
.bf-icon { filter: drop-shadow(0 0 6px #3266ff); }
.bf-glyph path {
  stroke: var(--bf-edge);
  stroke-width: .8;
  stroke-linejoin: round;
  stroke-opacity: .68;
  vector-effect: non-scaling-stroke;
}
.bf-glyph[data-bf-order="0"] { --bf-letter-delay: .48s; }
.bf-glyph[data-bf-glyph="c"] { --bf-letter-delay: .535s; }
.bf-glyph[data-bf-order="1"] { --bf-letter-delay: .59s; }
.bf-glyph[data-bf-glyph="e-space"] { --bf-letter-delay: .645s; }
.bf-glyph[data-bf-order="2"] { --bf-letter-delay: .70s; }
.bf-glyph[data-bf-order="3"] { --bf-letter-delay: .755s; }
.bf-glyph[data-bf-order="4"] { --bf-letter-delay: .81s; }

.bf-hero-offers {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: 100%;
  max-width: 756px;
  margin: clamp(22px, calc(4.8 * var(--bf-vh)), 47px) auto 0;
  text-align: center;
}
.bf-offer {
  display: grid;
  grid-template-rows: 1fr auto auto;
  align-items: end;
  gap: 4px;
  padding-inline: 12px;
}
.bf-offer + .bf-offer { border-inline-start: 1px solid #26334d; }
.bf-offer > strong { color: #f1f5ff; font-size: clamp(22px, 2.18vw, 32px); line-height: 1.14; font-weight: 710; }
.bf-offer p { margin: 0; }
.bf-offer-benefit { color: #a9c5ff; font-size: clamp(18px, 2vw, 28px); font-weight: 720; line-height: 1.14; }
.bf-offer-note { color: #b7c4dc; font-size: clamp(11px, 1.1vw, 13px); line-height: 1.36; }
.bf-offer-trial > strong { color: var(--bf-blue); font-size: clamp(32px, 3.25vw, 46px); font-weight: 790; }

.bf-hero-actions {
  display: grid;
  justify-items: center;
  gap: clamp(14px, calc(2.25 * var(--bf-vh)), 22px);
  margin: clamp(19px, calc(4 * var(--bf-vh)), 38px) auto 0;
}
.bf-hero-timer { display: grid; justify-items: center; gap: 8px; }
.bf-timer-label { font-size: 12px; color: #bdcbe3; font-weight: 620; }
.bf-hero-timer .bf-clock { gap: 8px; text-align: center; }
.bf-hero-timer .bf-clock span { width: clamp(54px, 6.5vw, 87px); row-gap: 5px; }
.bf-hero-timer .bf-clock span::before {
  grid-area: 1 / 1;
  align-self: center;
  width: 100%;
  height: clamp(44px, 5.1vw, 66px);
  box-sizing: border-box;
  border: 1px solid #222a3a;
  border-radius: 8px;
  background: #0d1018;
  content: "";
}
.bf-hero-timer .bf-clock span:last-child::before { border-color: #2c467b; background: #0e1830; }
.bf-hero-timer .bf-clock b {
  grid-area: 1 / 1;
  align-self: center;
  position: relative;
  color: #f4f7ff;
  font-size: clamp(30px, 4.15vw, 54px);
  line-height: 1;
  font-weight: 690;
}
.bf-hero-timer .bf-clock span:last-child b { color: #c0d4ff; }
.bf-hero-timer .bf-clock small { grid-row: 2; color: #aebbd2; font-size: 10px; }
.bf-clock { display: flex; align-items: center; gap: 8px; font-variant-numeric: tabular-nums; }
.bf-clock span { display: grid; justify-items: center; min-width: 32px; }
.bf-clock b { color: #eaf1ff; font-size: 21px; line-height: 1.1; font-weight: 710; }
.bf-clock small { color: #b3c3e1; font-size: 9px; }
.bf-clock i { align-self: start; color: #6e92ff; font-size: 14px; font-style: normal; }


@keyframes bf-neon-mark {
  0% { opacity: 0; stroke-dashoffset: 1; fill-opacity: 0; }
  64% { opacity: 1; stroke-dashoffset: 0; fill-opacity: 0; }
  100% { opacity: 1; stroke-dashoffset: 0; fill-opacity: 1; }
}
@keyframes bf-title-ignite {
  0% { opacity: 0; }
  24% { opacity: .46; }
  37% { opacity: .34; }
  100% { opacity: 1; }
}
@keyframes bf-light-on { from { opacity: 0; } to { opacity: 1; } }
@keyframes bf-rise { from { visibility: hidden; opacity: 0; transform: translateY(11px); } to { visibility: visible; opacity: 1; transform: none; } }
@keyframes bf-laptop-rise { from { visibility: hidden; transform: translateY(130%); } to { visibility: visible; transform: none; } }
@keyframes bf-phone-slide { from { visibility: hidden; transform: translateX(240%); } to { visibility: visible; transform: none; } }
@media (prefers-reduced-motion: no-preference) {
  .zpl-bf:not([hidden]) .bf-wordmark::before { animation: bf-light-on .82s .12s ease-out both; }
  .zpl-bf:not([hidden]) .bf-icon path { stroke-dasharray: 1; animation: bf-neon-mark .59s .02s var(--bf-ease) both; }
  .zpl-bf:not([hidden]) .bf-glyph:not(.bf-icon) { animation: bf-light-on .24s var(--bf-letter-delay) ease-out both; }
  .zpl-bf:not([hidden]) .bf-title-outline { animation: bf-title-ignite .64s .86s linear both; }
  .zpl-bf:not([hidden]) .bf-title-fill { animation: bf-title-ignite .59s .99s linear both; }
  .zpl-bf:not([hidden]) .bf-hero-offers { animation: bf-rise .33s 1.25s var(--bf-ease) both; }
  .zpl-bf:not([hidden]) .bf-hero-actions { animation: bf-rise .35s 1.41s var(--bf-ease) both; }
  .zpl-bf:not([hidden]) .zpl-bf-laptop { animation: bf-laptop-rise .55s 1.8s var(--bf-ease) both; }
  .zpl-bf:not([hidden]) .zpl-bf-phone { animation: bf-phone-slide .52s 1.98s var(--bf-ease) both; }
}

.zpl-bf-scene {
    display: contents;
}

.zpl-bf-laptop {
    position: absolute;
    grid-column: 2;
    top: 50%;
    width: calc(100% * var(--bf-notebook-width));
    margin-inline-start: -5.5%;
    translate: 0 -50%;
}

.zpl-bf-phone-position {
    position: absolute;
    grid-area: 2 / 2 / 3 / 3;
    inset-inline: 0;
    top: 50%;
    margin-top: 0.55cqw;
    aspect-ratio: calc(1200 / (770 * var(--bf-notebook-width)));
    translate: 0 -50%;
}

.erp-banner .zpl-bf-scene img {
    width: 100%;
    height: auto;
    aspect-ratio: auto;
}

.erp-banner img.zpl-bf-laptop-screen {
    position: absolute;
    top: 3%;
    left: 13.95%;
    width: 72%;
    height: 67%;
    border-radius: 2px 2px 0 0;
    object-fit: cover;
    object-position: top;
}

.zpl-bf-phone {
    position: absolute;
    right: 16%;
    bottom: 0;
    width: 18.5%;
    overflow: hidden;
    padding: 0.24cqw;
    border: max(1px, 0.12cqw) solid #64728a;
    border-radius: 1.35cqw;
    background: #060708;
    box-shadow: -0.3cqw 0.5cqw 1.25cqw #000a;
}

.zpl-bf-phone img {
    border-radius: 0.95cqw;
}
