/* StencilFy — landing page
 * Referência: Layout Stencilfy/Landipage/refencia da landi page (PC 1024 px e celular).
 * No PC as medidas acompanham a largura da tela (vw) para manter a proporção da referência.
 */
:root {
  --bg: #0a0a0b;
  --bg-card: rgba(16, 16, 18, 0.72);
  --bg-card-solid: #111113;
  --border: rgba(255, 255, 255, 0.09);
  --gold: #f5b301;
  --gold-soft: #ffcf4d;
  --text: #ffffff;
  --text-2: #d6d6da;
  --text-3: #a6a6ac;
  --pad: 5.2vw;
  --font: 'Poppins', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}
img {
  display: block;
  max-width: 100%;
}
h1,
h2,
h3,
p,
ul,
ol {
  margin: 0;
}
ul,
ol {
  padding: 0;
  list-style: none;
}
em {
  font-style: normal;
  color: var(--gold);
}

.wrap {
  position: relative;
  padding-inline: var(--pad);
}
.only-m,
.br-m,
.hero-phones,
.print-art {
  display: none;
}

/* ---------- Botões ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  border-radius: 999px;
  font-weight: 600;
  white-space: nowrap;
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease,
    background 0.15s ease;
}
.btn svg {
  width: 1.05em;
  height: 1.05em;
  flex: none;
}
.btn-gold {
  background: linear-gradient(180deg, #ffc21a 0%, var(--gold) 100%);
  color: #111;
  box-shadow: 0 0 2.4vw rgba(245, 179, 1, 0.28);
}
.btn-gold:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 3vw rgba(245, 179, 1, 0.45);
}
.btn-outline {
  border: 2px solid rgba(255, 255, 255, 0.92);
  color: #fff;
  background: rgba(0, 0, 0, 0.35);
}
.btn-outline:hover {
  background: rgba(255, 255, 255, 0.08);
}
.btn-outline .play {
  width: 1.25em;
  height: 1.25em;
}
.btn-sm {
  font-size: clamp(13px, 1.17vw, 18px);
  padding: 0.78em 1.5em;
}
.btn-lg {
  width: clamp(250px, 25.7vw, 400px);
  font-size: clamp(15px, 1.56vw, 23px);
  padding: 0.82em 1.2em;
}

/* ---------- Topo ---------- */
.topbar {
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 3vw;
  padding: 1.1vw var(--pad) 0 calc(var(--pad) + 0.2vw);
  height: clamp(60px, 5.9vw, 92px);
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.7vw;
  font-weight: 700;
  font-size: clamp(20px, 2.5vw, 38px);
  letter-spacing: -0.02em;
}
.brand img {
  width: clamp(32px, 3.6vw, 56px);
  height: auto;
}
.brand b {
  color: var(--gold);
  font-weight: 700;
}
.nav {
  display: flex;
  align-items: center;
  gap: 2.6vw;
  margin-left: 2.9vw;
  font-size: clamp(12px, 1.17vw, 18px);
  color: #e9e9ec;
}
.nav a:hover,
.nav a.is-active {
  color: var(--gold);
}
.nav-cta-mobile {
  display: none;
}
.topbar-cta {
  margin-left: auto;
}
.menu-btn {
  display: none;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 61.5vw;
  overflow: hidden;
  isolation: isolate;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(8, 8, 9, 0.9) 0%, rgba(8, 8, 9, 0.55) 30%, rgba(8, 8, 9, 0) 46%),
    linear-gradient(0deg, rgba(10, 10, 11, 0.85) 0%, rgba(10, 10, 11, 0) 14%),
    url('img/hero-pc.webp') 69% 0 / 115% auto no-repeat,
    #0b0a09;
}
.hero-content {
  padding-top: 8.4vw;
  max-width: 42vw;
  box-sizing: content-box;
}
.eyebrow {
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.26em;
  font-weight: 500;
  font-size: clamp(10px, 1.1vw, 17px);
}
.hero h1 {
  margin-top: 0.85vw;
  font-weight: 800;
  font-size: clamp(38px, 5.05vw, 78px);
  line-height: 0.98;
  letter-spacing: -0.025em;
}
.hero-lead {
  margin-top: 1.9vw;
  max-width: 34vw;
  font-size: clamp(13px, 1.5vw, 22px);
  line-height: 1.36;
  color: #ececef;
}
.stores {
  display: flex;
  gap: 0.9vw;
  margin: 2.2vw 0 1.15vw;
}
.store {
  display: flex;
  align-items: center;
  gap: 0.6vw;
  min-width: clamp(128px, 12.4vw, 190px);
  padding: 0.5vw 0.95vw;
  border: 1.5px solid rgba(255, 255, 255, 0.85);
  border-radius: 0.7vw;
  background: #000;
  line-height: 1.05;
  font-size: clamp(14px, 1.42vw, 22px);
  font-weight: 500;
  letter-spacing: -0.02em;
}
.store small {
  display: block;
  font-size: 0.48em;
  font-weight: 400;
  letter-spacing: 0;
}
.store-ic {
  width: 1.4em;
  height: 1.4em;
  flex: none;
}
.store:hover {
  border-color: var(--gold);
}
.hero-content .btn-lg {
  display: flex;
  width: clamp(250px, 25.7vw, 400px);
  margin-top: 1.1vw;
}
.hero-content .btn-gold {
  padding-block: 0.95em;
}
.price {
  margin-top: 2.2vw;
  font-size: clamp(15px, 1.95vw, 30px);
  font-weight: 400;
}
.price strong {
  color: var(--gold);
  font-weight: 700;
}
.perks {
  display: flex;
  gap: 2.4vw;
  margin-top: 1.9vw;
  font-size: clamp(11px, 1.12vw, 17px);
  line-height: 1.3;
}
.perks li {
  display: flex;
  align-items: center;
  gap: 0.85vw;
}
.perks svg {
  width: clamp(22px, 2.6vw, 40px);
  height: clamp(22px, 2.6vw, 40px);
  color: var(--gold);
}

/* ---------- Como funciona ---------- */
.steps {
  position: relative;
  padding: 2.2vw 0 2.1vw;
  background:
    linear-gradient(180deg, rgba(10, 10, 11, 0.55) 0%, rgba(10, 10, 11, 0.2) 100%),
    url('img/passos-pc.webp') center / cover no-repeat,
    #0b0a09;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.steps h2 {
  font-size: clamp(28px, 3.6vw, 56px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.steps-sub {
  margin-top: 0.2vw;
  font-size: clamp(16px, 2.05vw, 31px);
  color: #ececef;
}
.step-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2vw;
  margin-top: 1.4vw;
}
.step {
  padding: 1.25vw 2.3vw 1.5vw;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 0.6vw;
  backdrop-filter: blur(2px);
}
.step-head {
  display: flex;
  align-items: center;
  gap: 1.5vw;
  color: #fff;
}
.step-head svg {
  width: clamp(28px, 3.5vw, 54px);
  height: clamp(28px, 3.5vw, 54px);
}
.num {
  display: grid;
  place-items: center;
  width: clamp(28px, 3.1vw, 48px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--gold);
  color: #111;
  font-weight: 700;
  font-size: clamp(15px, 1.8vw, 28px);
  margin-left: -0.9vw;
}
.step h3 {
  margin-top: 0.75vw;
  font-size: clamp(15px, 1.75vw, 27px);
  font-weight: 600;
  letter-spacing: -0.01em;
}
.step p {
  margin-top: 0.2vw;
  font-size: clamp(12px, 1.3vw, 20px);
  line-height: 1.4;
  color: var(--text-2);
}

/* ---------- Imprima ---------- */
.print {
  position: relative;
  min-height: 40.5vw;
  overflow: hidden;
  isolation: isolate;
}
.print-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(8, 8, 9, 0.7) 0%, rgba(8, 8, 9, 0.25) 36%, rgba(8, 8, 9, 0) 46%),
    url('img/imprima-pc.webp') 72% 45% / 108% auto no-repeat,
    #0b0a09;
}
.print-content {
  padding-top: 2.1vw;
  max-width: 42vw;
  box-sizing: content-box;
}
.print h2 {
  font-size: clamp(30px, 3.75vw, 58px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.02em;
}
.print h2 em {
  font-weight: 800;
}
.print-lead {
  margin-top: 1.9vw;
  max-width: 34vw;
  font-size: clamp(13px, 1.56vw, 23px);
  line-height: 1.5;
  color: #ececef;
}
.checks {
  margin-top: 1.9vw;
  display: grid;
  gap: 1.25vw;
  font-size: clamp(12px, 1.37vw, 21px);
}
.checks li {
  display: flex;
  align-items: center;
  gap: 2.4vw;
}
.checks svg {
  width: clamp(22px, 2.55vw, 40px);
  height: clamp(22px, 2.55vw, 40px);
  color: var(--gold);
  flex: none;
}

/* ---------- Chamada final ---------- */
.cta {
  position: relative;
  min-height: 23.5vw;
  isolation: isolate;
  /* deixa o celular passar para cima (sobre as folhas) e corta embaixo */
  clip-path: inset(-8vw 0 0 0);
  border-top: 1px solid var(--border);
}
.cta-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(30% 70% at 92% 100%, rgba(245, 160, 10, 0.4) 0%, rgba(245, 160, 10, 0) 70%),
    radial-gradient(22% 50% at 70% 110%, rgba(245, 150, 10, 0.22) 0%, rgba(245, 150, 10, 0) 70%),
    linear-gradient(90deg, rgba(8, 8, 9, 0.96) 0%, rgba(8, 8, 9, 0.8) 45%, rgba(8, 8, 9, 0.35) 75%),
    url('img/passos-pc.webp') center / cover no-repeat,
    #0b0a09;
}
.cta-phone {
  position: absolute;
  z-index: 1;
  left: 74vw;
  top: -4.6vw;
  bottom: 0;
  width: 22vw;
  height: calc(100% + 4.6vw);
  object-fit: cover;
  object-position: top;
  filter: drop-shadow(0 1.5vw 2.5vw rgba(0, 0, 0, 0.6));
  pointer-events: none;
}
.cta-content {
  display: grid;
  grid-template-columns: 46vw 21vw;
  grid-template-areas: 'text actions' 'trust actions';
  column-gap: 2.2vw;
  padding-top: 2.4vw;
  padding-bottom: 2.6vw;
}
.cta-text {
  grid-area: text;
}
.cta h2 {
  font-size: clamp(22px, 2.45vw, 38px);
  font-weight: 700;
  line-height: 1.14;
  letter-spacing: -0.015em;
}
.cta-text p {
  margin-top: 1.3vw;
  font-size: clamp(13px, 1.66vw, 25px);
  line-height: 1.4;
  color: #ececef;
}
.cta-actions {
  grid-area: actions;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 0.2vw;
}
.cta-actions .btn-lg {
  width: 100%;
  padding-block: 0.95em;
}
.cta-actions .price {
  margin: 1.2vw 0 1.1vw;
  font-size: clamp(14px, 1.45vw, 22px);
  white-space: nowrap;
}
.trust {
  grid-area: trust;
  display: flex;
  gap: 3vw;
  margin-top: 2.3vw;
  font-size: clamp(11px, 1.12vw, 17px);
}
.trust li {
  display: flex;
  align-items: center;
  gap: 0.95vw;
  white-space: nowrap;
}
.trust svg {
  width: clamp(22px, 2.5vw, 38px);
  height: clamp(22px, 2.5vw, 38px);
  color: var(--gold);
}

/* =========================================================
   Celular (referência 725 px de largura)
   ========================================================= */
@media (max-width: 760px) {
  :root {
    --pad: 20px;
  }
  .only-pc {
    display: none !important;
  }
  .only-m {
    display: block;
  }
  .br-m {
    display: inline;
  }

  .topbar {
    height: 68px;
    padding: 10px 20px 0 22px;
    gap: 0;
  }
  .brand {
    gap: 8px;
    font-size: 25px;
  }
  .brand img {
    width: 40px;
  }
  .topbar-cta {
    display: none;
  }
  .menu-btn {
    display: grid;
    place-items: center;
    margin-left: auto;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    background: none;
    color: #fff;
    cursor: pointer;
  }
  .menu-btn svg {
    width: 32px;
    height: 32px;
  }
  .menu-btn .ic-close {
    display: none;
  }
  .topbar.is-open .ic-open {
    display: none;
  }
  .topbar.is-open .ic-close {
    display: block;
  }
  .nav {
    position: absolute;
    top: 68px;
    left: 12px;
    right: 12px;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0;
    padding: 8px 16px 16px;
    background: rgba(14, 14, 16, 0.97);
    border: 1px solid var(--border);
    border-radius: 16px;
    font-size: 16px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition:
      opacity 0.18s ease,
      transform 0.18s ease,
      visibility 0.18s;
  }
  .topbar.is-open .nav {
    opacity: 1;
    visibility: visible;
    transform: none;
  }
  .nav a {
    padding: 13px 4px;
    border-bottom: 1px solid var(--border);
  }
  .nav .nav-cta-mobile {
    display: flex;
    margin-top: 14px;
    padding: 13px;
    border: 0;
    color: #111;
    font-size: 16px;
  }

  /* Hero */
  .hero {
    min-height: 0;
    padding-bottom: 28px;
  }
  .hero-bg {
    background:
      linear-gradient(180deg, rgba(8, 8, 9, 0.35) 0%, rgba(8, 8, 9, 0) 30%),
      linear-gradient(90deg, rgba(8, 8, 9, 0.7) 0%, rgba(8, 8, 9, 0.15) 50%, rgba(8, 8, 9, 0) 70%),
      linear-gradient(0deg, rgba(10, 10, 11, 1) 0%, rgba(10, 10, 11, 0) 9%),
      radial-gradient(80% 40% at 85% 12%, rgba(245, 150, 20, 0.16) 0%, rgba(245, 150, 20, 0) 70%),
      url('img/passos-mobile.webp') center top / cover no-repeat,
      #0b0a09;
  }
  .hero-content {
    max-width: none;
    padding-top: 86px;
  }
  .eyebrow {
    font-size: 12.5px;
    letter-spacing: 0.27em;
    line-height: 1.45;
  }
  .hero h1 {
    margin-top: 6px;
    font-size: min(12.4vw, 60px);
    line-height: 1.03;
  }
  .hero-lead {
    margin-top: 14px;
    max-width: 300px;
    font-size: 15px;
    line-height: 1.42;
  }
  /* Coluna da esquerda: lojas, botões e preço · à direita: os celulares */
  .hero-content > :not(.hero-actions) {
    position: relative;
    z-index: 1;
  }
  .hero-actions {
    position: relative;
    margin-top: 18px;
    padding-right: calc(46vw - 20px);
    /* altura dos celulares, para não cortarem no fim do topo */
    min-height: 54vw;
  }
  .hero-actions > :not(.hero-phones) {
    position: relative;
    z-index: 1;
  }
  .hero-phones {
    display: block;
    position: absolute;
    z-index: 0;
    left: calc(39vw - 20px);
    top: -60vw;
    width: 68vw;
    aspect-ratio: 941 / 1672;
    background: url('img/hero-mobile.webp') center / cover no-repeat;
    -webkit-mask-image: linear-gradient(
      180deg,
      transparent 0%,
      #000 34%,
      #000 95%,
      transparent 100%
    );
    mask-image: linear-gradient(180deg, transparent 0%, #000 34%, #000 95%, transparent 100%);
    pointer-events: none;
  }
  .stores {
    flex-direction: column;
    margin: 0 0 4px;
    gap: 8px;
  }
  .store {
    min-width: 0;
    padding: 6px 10px;
    border-radius: 9px;
    font-size: clamp(15px, 4.4vw, 19px);
    gap: 8px;
  }
  .store-ic {
    width: 1.35em;
    height: 1.35em;
  }
  .hero-content .btn-lg {
    width: 100%;
    margin-top: 10px;
    padding: 0.85em 0.5em;
    font-size: clamp(12.5px, 3.55vw, 16px);
    letter-spacing: -0.01em;
    gap: 0.45em;
  }
  .hero .price {
    margin-top: 14px;
    font-size: clamp(14px, 4.1vw, 18px);
    line-height: 1.3;
  }
  .hero .price strong {
    display: block;
    font-size: 1.2em;
  }

  /* Como funciona */
  .steps {
    padding: 24px 0 26px;
    background:
      linear-gradient(180deg, rgba(10, 10, 11, 0.6) 0%, rgba(10, 10, 11, 0.25) 100%),
      url('img/passos-mobile.webp') center / cover no-repeat,
      #0b0a09;
  }
  .steps h2 {
    font-size: 34px;
  }
  .steps-sub {
    margin-top: 2px;
    font-size: 21px;
  }
  .step-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 18px;
  }
  .step {
    padding: 16px 12px 18px 16px;
    border-radius: 8px;
  }
  .step-head {
    gap: 22px;
  }
  .step-head svg {
    width: 38px;
    height: 38px;
  }
  .num {
    width: 36px;
    font-size: 19px;
    margin-left: 0;
  }
  .step h3 {
    margin-top: 10px;
    font-size: 16.5px;
  }
  .step p {
    margin-top: 2px;
    font-size: 14px;
    line-height: 1.35;
  }

  /* Imprima */
  .print {
    min-height: 0;
  }
  .print-bg {
    background:
      linear-gradient(90deg, rgba(8, 8, 9, 0.88) 0%, rgba(8, 8, 9, 0.45) 42%, rgba(8, 8, 9, 0) 58%),
      linear-gradient(180deg, rgba(8, 8, 9, 0.6) 0%, rgba(8, 8, 9, 0) 30%),
      radial-gradient(70% 45% at 90% 20%, rgba(245, 150, 20, 0.14) 0%, rgba(245, 150, 20, 0) 70%),
      #0b0a09;
  }
  .print-art {
    display: block;
    position: absolute;
    z-index: -1;
    right: -6vw;
    bottom: -17vw;
    width: 60vw;
    aspect-ratio: 941 / 1672;
    background: url('img/imprima-mobile.webp') center / cover no-repeat;
    -webkit-mask-image:
      linear-gradient(90deg, transparent 0%, #000 14%),
      linear-gradient(180deg, transparent 0%, #000 46%);
    -webkit-mask-composite: source-in;
    mask-image:
      linear-gradient(90deg, transparent 0%, #000 14%),
      linear-gradient(180deg, transparent 0%, #000 46%);
    mask-composite: intersect;
  }
  .print-content {
    max-width: none;
    padding-top: 22px;
    padding-bottom: 34px;
  }
  .print h2 {
    font-size: 36px;
    line-height: 1.12;
  }
  .print-lead {
    margin-top: 10px;
    max-width: 250px;
    font-size: 15.5px;
    line-height: 1.4;
  }
  .checks {
    margin-top: 18px;
    gap: 16px;
    max-width: calc(44vw - 4px);
    font-size: 13px;
    line-height: 1.35;
  }
  .checks li {
    gap: 12px;
  }
  .checks svg {
    width: 28px;
    height: 28px;
  }

  /* Chamada final */
  .cta {
    min-height: 0;
    clip-path: none;
    overflow: hidden;
    border-top-color: rgba(245, 179, 1, 0.12);
  }
  .cta-phone {
    display: none;
  }
  .cta-bg {
    background:
      radial-gradient(120% 60% at 100% 0%, rgba(245, 179, 1, 0.28) 0%, rgba(245, 179, 1, 0) 55%),
      radial-gradient(90% 60% at 80% 100%, rgba(245, 150, 1, 0.22) 0%, rgba(245, 150, 1, 0) 60%),
      #0b0a09;
  }
  .cta-content {
    grid-template-columns: 1fr;
    grid-template-areas: 'text' 'actions' 'trust';
    padding-top: 22px;
    padding-bottom: 30px;
  }
  .cta h2 {
    font-size: 27px;
    line-height: 1.15;
  }
  .cta-text p {
    margin-top: 12px;
    font-size: 15px;
    line-height: 1.45;
  }
  .cta-actions {
    margin-top: 20px;
    padding: 0;
  }
  .cta-actions .btn-lg {
    width: 100%;
    max-width: 340px;
    font-size: 16px;
  }
  .cta-actions .price {
    margin: 12px 0 0;
    font-size: 17px;
  }
  .trust {
    justify-content: space-between;
    gap: 8px;
    margin-top: 28px;
    font-size: 12.5px;
  }
  .trust li {
    gap: 7px;
    white-space: normal;
  }
  .trust svg {
    width: 28px;
    height: 28px;
  }
}

@media (max-width: 360px) {
  .trust {
    flex-wrap: wrap;
    justify-content: flex-start;
    column-gap: 18px;
    row-gap: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .btn,
  .nav {
    transition: none;
  }
}
