/* LPs do Willian Celso / Autentica: tokens, formulário e as duas páginas. */

:root {
  --deep: #020f18;
  --navy: #061f32;
  --navy-2: #08283d;
  --ink: #092033;
  --paper: #f2ede4;
  --ivory: #f6f0e7;
  --muted: #8f9fa8;
  --blue: #5795b1;
  --wine: #661c25;
  --wine-2: #7d2430;
  --gold: #b99b66;
  --gold-2: #d3b77d;
  --rose: #ee9aa3;
  --hair: rgba(185, 155, 102, 0.28);
  --hair-soft: rgba(246, 240, 231, 0.12);
  --display: 'Cormorant Garamond', Georgia, serif;
  --text: 'Montserrat', Arial, sans-serif;
  --ease: cubic-bezier(0.2, 0.76, 0.22, 1);
  --gutter: clamp(16px, 4vw, 40px);
}

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

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

body {
  margin: 0;
  background: var(--deep);
  color: var(--ivory);
  font: 400 16px/1.6 var(--text);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

button {
  font: inherit;
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--gold-2);
  outline-offset: 3px;
}

/* Grão de filme por cima de tudo: tira o "chapado" do gradiente. */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 50;
  opacity: 0.07;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ------------------------------------------------------------- tipografia */

.display {
  font-family: var(--display);
  font-weight: 400;
  line-height: 1.06;
  letter-spacing: -0.012em;
  margin: 0;
  text-wrap: balance;
}

.display em,
.mark {
  font-style: italic;
  color: var(--ivory);
  padding: 0 0.18em 0.04em;
  background: linear-gradient(
    180deg,
    transparent 14%,
    var(--wine) 14%,
    var(--wine) 94%,
    transparent 94%
  );
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  font: 600 11px/1.4 var(--text);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold-2);
}

.eyebrow::before,
.lpf-diamond {
  content: '';
  width: 7px;
  height: 7px;
  flex: none;
  transform: rotate(45deg);
  background: linear-gradient(135deg, var(--gold-2), var(--gold));
  box-shadow: 0 0 12px rgba(211, 183, 125, 0.6);
}

.lpf-diamond {
  display: inline-block;
  margin-right: 10px;
}

.lead {
  margin: 0;
  color: rgba(246, 240, 231, 0.72);
  font-size: clamp(15px, 0.9rem + 0.25vw, 17px);
  line-height: 1.7;
  text-wrap: pretty;
}

.rule {
  height: 1px;
  border: 0;
  margin: 0;
  background: linear-gradient(90deg, transparent, var(--gold) 50%, transparent);
  opacity: 0.45;
}

/* ---------------------------------------------------------------- botões */

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 56px;
  padding: 16px 34px;
  border: 0;
  border-radius: 2px;
  cursor: pointer;
  text-decoration: none;
  font: 600 12.5px/1.3 var(--text);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-align: center;
  transition:
    transform 0.25s var(--ease),
    box-shadow 0.25s var(--ease),
    filter 0.25s var(--ease);
}

.btn-gold {
  color: var(--deep);
  background: linear-gradient(180deg, #e2c992 0%, var(--gold-2) 38%, var(--gold) 100%);
  box-shadow:
    0 18px 40px -16px rgba(211, 183, 125, 0.65),
    inset 0 1px 0 rgba(255, 255, 255, 0.45),
    inset 0 -1px 0 rgba(0, 0, 0, 0.15);
}

.btn-gold:hover {
  transform: translateY(-2px);
  filter: brightness(1.06);
  box-shadow:
    0 24px 50px -16px rgba(211, 183, 125, 0.8),
    inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

.btn-gold:active {
  transform: translateY(0);
}

.btn-line {
  min-height: 42px;
  padding: 10px 20px;
  color: var(--ivory);
  background: rgba(2, 15, 24, 0.35);
  border: 1px solid var(--hair);
  font-size: 11px;
}

.btn-line:hover {
  border-color: var(--gold-2);
  color: var(--gold-2);
}

.btn-arrow {
  display: inline-block;
  transition: transform 0.25s var(--ease);
}

.btn:hover .btn-arrow {
  transform: translateY(3px);
}

/* ============================================================ FORMULÁRIO */

.lpf {
  position: relative;
  width: 100%;
  padding: clamp(26px, 4vw, 44px);
  border: 1px solid var(--hair);
  border-radius: 6px;
  background:
    radial-gradient(120% 80% at 0% 0%, rgba(87, 149, 177, 0.1), transparent 60%),
    linear-gradient(180deg, rgba(8, 40, 61, 0.78), rgba(2, 15, 24, 0.9));
  box-shadow:
    0 40px 90px -40px rgba(0, 0, 0, 0.9),
    inset 0 1px 0 rgba(246, 240, 231, 0.06);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  isolation: isolate;
}

/* Cantoneiras douradas: o cartão lê como um certificado, não como um card de SaaS. */
.lpf::before,
.lpf::after {
  content: '';
  position: absolute;
  width: 22px;
  height: 22px;
  border: 1px solid var(--gold);
  opacity: 0.8;
  pointer-events: none;
}

.lpf::before {
  top: -1px;
  left: -1px;
  border-right: 0;
  border-bottom: 0;
  border-top-left-radius: 6px;
}

.lpf::after {
  right: -1px;
  bottom: -1px;
  border-left: 0;
  border-top: 0;
  border-bottom-right-radius: 6px;
}

.lpf-progress {
  position: absolute;
  top: 0;
  left: 24px;
  right: 24px;
  height: 2px;
  background: rgba(246, 240, 231, 0.06);
  overflow: hidden;
}

.lpf-progress span {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--gold), var(--gold-2));
  box-shadow: 0 0 12px rgba(211, 183, 125, 0.7);
  transition: width 0.6s var(--ease);
}

.lpf-step,
.lpf-end {
  animation: lpf-in 0.5s var(--ease) both;
}

@keyframes lpf-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
}

.lpf-step.is-shaking {
  animation: lpf-shake 0.38s var(--ease);
}

@keyframes lpf-shake {
  20%,
  60% {
    transform: translateX(-5px);
  }
  40%,
  80% {
    transform: translateX(5px);
  }
}

.lpf-step {
  margin: 0;
}

.lpf-eyebrow {
  display: flex;
  align-items: center;
  margin: 0 0 14px;
  font: 600 10.5px/1.4 var(--text);
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold-2);
}

.lpf-title {
  margin: 0 0 8px;
  font: 500 clamp(27px, 1.2rem + 1.6vw, 36px) / 1.08 var(--display);
  letter-spacing: -0.01em;
  color: var(--ivory);
  text-wrap: balance;
  outline: none;
}

.lpf-hint {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.lpf-hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.lpf-fields {
  display: grid;
  gap: 18px;
  margin-top: 24px;
}

.lpf-field {
  display: grid;
  gap: 8px;
}

.lpf-label {
  font: 600 13px/1.2 var(--text);
  color: rgba(246, 240, 231, 0.88);
}

.lpf-field small {
  color: var(--muted);
  font-size: 12px;
}

.lpf-input {
  width: 100%;
  min-height: 54px;
  padding: 14px 16px;
  border: 1px solid var(--hair-soft);
  border-bottom-color: rgba(185, 155, 102, 0.55);
  border-radius: 3px;
  background: rgba(246, 240, 231, 0.04);
  color: var(--ivory);
  font: 400 16px/1.3 var(--text);
  transition:
    border-color 0.2s,
    background 0.2s,
    box-shadow 0.2s;
}

.lpf-input::placeholder {
  color: rgba(246, 240, 231, 0.32);
}

.lpf-input:hover {
  background: rgba(246, 240, 231, 0.06);
}

.lpf-input:focus {
  outline: none;
  border-color: var(--gold-2);
  background: rgba(246, 240, 231, 0.07);
  box-shadow: 0 0 0 4px rgba(185, 155, 102, 0.16);
}

.lpf-input[aria-invalid='true'] {
  border-color: var(--rose);
  box-shadow: 0 0 0 4px rgba(238, 154, 163, 0.14);
}

/* Alternativas */

.lpf-options {
  display: grid;
  gap: 10px;
  margin: 24px 0 0;
  padding: 0;
  border: 0;
  min-width: 0;
}

.lpf-option {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 54px;
  padding: 12px 16px 12px 12px;
  border: 1px solid var(--hair-soft);
  border-radius: 3px;
  background: rgba(246, 240, 231, 0.03);
  cursor: pointer;
  transition:
    border-color 0.2s,
    background 0.2s,
    transform 0.2s var(--ease);
}

.lpf-option:hover {
  border-color: rgba(185, 155, 102, 0.55);
  background: rgba(246, 240, 231, 0.06);
  transform: translateX(3px);
}

.lpf-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.lpf-key {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  flex: none;
  border: 1px solid rgba(185, 155, 102, 0.55);
  border-radius: 2px;
  font: 600 11px/1 var(--text);
  letter-spacing: 0.04em;
  color: var(--gold-2);
  transition: all 0.2s;
}

.lpf-option-text {
  font-size: 15px;
  line-height: 1.4;
  color: rgba(246, 240, 231, 0.9);
}

.lpf-option:has(input:focus-visible) {
  outline: 2px solid var(--gold-2);
  outline-offset: 2px;
}

.lpf-option:has(input:checked) {
  border-color: var(--gold);
  background: linear-gradient(90deg, rgba(185, 155, 102, 0.18), rgba(185, 155, 102, 0.06));
}

.lpf-option:has(input:checked) .lpf-key {
  background: var(--gold-2);
  border-color: var(--gold-2);
  color: var(--deep);
}

.lpf-options.is-multi .lpf-option:has(input:checked) .lpf-key {
  font-size: 0;
}

.lpf-options.is-multi .lpf-option:has(input:checked) .lpf-key::after {
  content: '✓';
  font-size: 14px;
}

/* Rodapé da etapa */

.lpf-error {
  min-height: 1.4em;
  margin: 14px 0 0;
  color: var(--rose);
  font-size: 13.5px;
}

.lpf-error:empty {
  min-height: 0;
  margin: 0;
}

.lpf-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 18px;
  margin-top: 22px;
}

.lpf-next {
  min-height: 52px;
  padding: 14px 30px;
  border: 0;
  border-radius: 2px;
  cursor: pointer;
  font: 600 12px/1.2 var(--text);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--deep);
  background: linear-gradient(180deg, #e2c992 0%, var(--gold-2) 38%, var(--gold) 100%);
  box-shadow:
    0 16px 34px -14px rgba(211, 183, 125, 0.7),
    inset 0 1px 0 rgba(255, 255, 255, 0.45);
  transition:
    transform 0.25s var(--ease),
    filter 0.25s;
}

.lpf-next:hover {
  transform: translateY(-2px);
  filter: brightness(1.06);
}

.lpf-enter {
  color: var(--muted);
  font-size: 12.5px;
}

.lpf-enter b {
  color: var(--ivory);
  font-weight: 600;
}

.lpf-back {
  margin-left: auto;
  padding: 6px 0;
  border: 0;
  background: none;
  color: var(--muted);
  font-size: 13px;
  cursor: pointer;
}

.lpf-back:hover {
  color: var(--ivory);
}

/* Fim */

.lpf-end {
  display: grid;
  justify-items: start;
  gap: 4px;
  outline: none;
}

.lpf-end-seal {
  width: 72px;
  height: 72px;
  margin-bottom: 18px;
  filter: drop-shadow(0 8px 24px rgba(211, 183, 125, 0.35));
}

.lpf-end-text {
  margin: 6px 0 0;
  color: rgba(246, 240, 231, 0.75);
  max-width: 46ch;
}

.lpf-end-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 24px;
  text-decoration: none;
}

.lpf-wa {
  width: 20px;
  height: 20px;
  flex: none;
}

.lpf-end-note {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 12.5px;
}

@media (max-width: 480px) {
  .lpf-end-cta {
    width: 100%;
  }
}

/* ===================================================== APLICAÇÃO DIRETA */

.ad {
  display: grid;
  min-height: 100svh;
}

.ad-main {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 24px var(--gutter) 40px;
  background:
    radial-gradient(90% 60% at 10% 0%, rgba(87, 149, 177, 0.16), transparent 60%),
    radial-gradient(70% 50% at 100% 100%, rgba(102, 28, 37, 0.32), transparent 65%),
    linear-gradient(180deg, var(--navy) 0%, var(--deep) 100%);
}

.ad-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.ad-logo {
  width: 132px;
  height: auto;
}

.ad-seal {
  width: 40px;
  height: 40px;
}

.ad-body {
  flex: 1;
  display: grid;
  align-content: center;
  gap: 28px;
  width: 100%;
  max-width: 580px;
  margin: 0 auto;
  padding: clamp(20px, 4vh, 48px) 0 20px;
}

.ad-intro {
  display: grid;
  gap: 16px;
}

.ad-intro .display {
  font-size: clamp(30px, 1.2rem + 2.4vw, 44px);
}

.ad-fine {
  margin: 0;
  color: var(--muted);
  font-size: 12.5px;
  text-align: center;
}

.ad-legal {
  display: flex;
  justify-content: center;
  gap: 18px;
  font-size: 11.5px;
}

.ad-legal a {
  color: rgba(246, 240, 231, 0.45);
  text-decoration: none;
}

.ad-legal a:hover {
  color: var(--gold-2);
}

/* Mosaico de marcas transformadas */

.ad-proof {
  position: relative;
  overflow: hidden;
  min-height: 560px;
  background: var(--deep);
  isolation: isolate;
}

.mosaic {
  position: absolute;
  inset: -40px -20px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  transform: rotate(-4deg) scale(1.08);
  z-index: -2;
}

/* O padding igual ao gap faz as duas cópias medirem exatamente 50% cada,
   então o translateY(-50%) emenda sem pulo. */
.mosaic-col {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-bottom: 14px;
  animation: mosaic-up 70s linear infinite;
}

.mosaic-col:nth-child(2) {
  animation-name: mosaic-down;
  animation-duration: 84s;
}

.mosaic-col:nth-child(3) {
  animation-duration: 96s;
}

.mosaic-col img {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  border-radius: 3px;
  filter: saturate(0.82) brightness(0.86) contrast(1.04);
}

@keyframes mosaic-up {
  to {
    transform: translateY(-50%);
  }
}

@keyframes mosaic-down {
  from {
    transform: translateY(-50%);
  }
  to {
    transform: translateY(0);
  }
}

.ad-proof::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(0deg, var(--deep) 4%, rgba(2, 15, 24, 0.86) 34%, rgba(2, 15, 24, 0.25) 64%, rgba(2, 15, 24, 0.55) 100%),
    linear-gradient(90deg, rgba(2, 15, 24, 0.7), transparent 30%);
}

.ad-proof-copy {
  position: absolute;
  left: clamp(24px, 4vw, 56px);
  right: clamp(24px, 4vw, 56px);
  bottom: clamp(28px, 6vh, 56px);
  display: grid;
  gap: 18px;
}

.ad-proof-copy .display {
  font-size: clamp(30px, 1rem + 2.2vw, 46px);
  max-width: 19ch;
}

.ad-proof-seal {
  width: 64px;
  height: 64px;
  filter: drop-shadow(0 10px 30px rgba(211, 183, 125, 0.35));
}

.brand-roll {
  margin: 0;
  padding: 16px 0 0;
  border-top: 1px solid var(--hair);
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  font: 500 10.5px/1.6 var(--text);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(246, 240, 231, 0.6);
}

.brand-roll li + li::before {
  content: '◆';
  margin-right: 18px;
  font-size: 7px;
  vertical-align: 2px;
  color: var(--gold);
}

@media (min-width: 1024px) {
  .ad {
    grid-template-columns: minmax(0, 1.06fr) minmax(0, 1fr);
  }

  .ad-main {
    padding: 32px clamp(32px, 5vw, 72px) 32px;
  }

  .ad-proof {
    position: sticky;
    top: 0;
    height: 100svh;
  }
}

/* ================================================================== VSL */

.vsl-head {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 22px var(--gutter);
}

.vsl-head .ad-logo {
  width: 124px;
}

.vsl-head-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(87, 149, 177, 0.45), rgba(185, 155, 102, 0.2));
}

.section {
  position: relative;
  padding: clamp(72px, 10vw, 128px) var(--gutter);
}

.wrap {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
}

.center {
  text-align: center;
}

/* Hero */

.hero {
  padding-top: clamp(96px, 10vw, 120px);
  padding-bottom: clamp(64px, 8vw, 96px);
  background:
    url('/assets/bg5-hero-hq.webp') center top / cover no-repeat,
    var(--deep);
  isolation: isolate;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(60% 45% at 50% 38%, rgba(87, 149, 177, 0.22), transparent 70%),
    radial-gradient(40% 35% at 15% 85%, rgba(102, 28, 37, 0.35), transparent 70%),
    linear-gradient(180deg, transparent 60%, var(--deep));
}

.hero .wrap {
  display: grid;
  justify-items: center;
  gap: 24px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 18px;
  border: 1px solid var(--hair);
  border-radius: 999px;
  background: rgba(2, 15, 24, 0.5);
  font: 600 10.5px/1.3 var(--text);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(246, 240, 231, 0.82);
}

.pill::before {
  content: '';
  width: 6px;
  height: 6px;
  transform: rotate(45deg);
  background: var(--gold-2);
}

.hero h1 {
  max-width: 28ch;
  font-size: clamp(29px, 0.9rem + 2.6vw, 50px);
  text-align: center;
}

.hero .lead {
  max-width: 58ch;
  text-align: center;
}

.vsl-frame {
  position: relative;
  width: 100%;
  max-width: 920px;
  padding: 7px;
  border: 1px solid var(--hair);
  border-radius: 6px;
  background: linear-gradient(180deg, rgba(8, 40, 61, 0.7), rgba(2, 15, 24, 0.8));
  box-shadow:
    0 60px 120px -50px rgba(0, 0, 0, 0.95),
    0 0 0 1px rgba(2, 15, 24, 0.6);
}

.vsl-frame::before,
.vsl-frame::after {
  content: '';
  position: absolute;
  width: 26px;
  height: 26px;
  border: 1px solid var(--gold-2);
  pointer-events: none;
}

.vsl-frame::before {
  top: -6px;
  left: -6px;
  border-right: 0;
  border-bottom: 0;
}

.vsl-frame::after {
  right: -6px;
  bottom: -6px;
  border-left: 0;
  border-top: 0;
}

.vsl-video {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 3px;
  overflow: hidden;
  background: #0b1116;
}

.vsl-video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.cta {
  display: grid;
  justify-items: center;
  gap: 14px;
}

.cta small {
  color: var(--muted);
  font-size: 12.5px;
}

/* Prova */

.proof {
  background:
    radial-gradient(70% 50% at 50% 0%, rgba(87, 149, 177, 0.18), transparent 70%),
    linear-gradient(180deg, var(--deep), var(--navy) 40%, var(--deep));
  overflow: hidden;
}

.proof-head {
  display: grid;
  justify-items: center;
  gap: 18px;
  margin-bottom: clamp(36px, 5vw, 56px);
}

.proof-head .display {
  font-size: clamp(32px, 1rem + 3vw, 56px);
  max-width: 18ch;
  text-align: center;
}

.cases {
  position: relative;
}

.cases-track {
  display: flex;
  gap: 18px;
  margin: 0 calc(var(--gutter) * -1);
  padding: 6px var(--gutter) 22px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding: 0 var(--gutter);
  scrollbar-width: none;
  list-style: none;
  -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 72px), transparent);
  mask-image: linear-gradient(90deg, #000 calc(100% - 72px), transparent);
}

.cases-track::-webkit-scrollbar {
  display: none;
}

.case {
  flex: 0 0 min(80vw, 300px);
  scroll-snap-align: start;
  display: grid;
  border: 1px solid var(--hair);
  border-radius: 6px;
  overflow: hidden;
  background: linear-gradient(180deg, var(--navy-2), var(--deep));
  transition:
    transform 0.4s var(--ease),
    border-color 0.4s;
}

.case:hover {
  transform: translateY(-6px);
  border-color: rgba(211, 183, 125, 0.6);
}

.case-photo {
  position: relative;
  margin: 0;
  aspect-ratio: 4 / 5;
  overflow: hidden;
}

.case-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
  transition: transform 0.8s var(--ease);
}

.case:hover .case-photo img {
  transform: scale(1.04);
}

.case-photo figcaption {
  position: absolute;
  inset: auto 0 0;
  display: grid;
  gap: 2px;
  padding: 60px 20px 18px;
  background: linear-gradient(0deg, rgba(2, 15, 24, 0.95) 10%, rgba(2, 15, 24, 0.7) 50%, transparent);
}

.case-seg {
  font: 600 10px/1.4 var(--text);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold-2);
}

.case-brand {
  margin: 2px 0 0;
  font: 500 30px/1.05 var(--display);
}

.case-owner {
  font-size: 13px;
  color: rgba(246, 240, 231, 0.78);
}

.case-owner a {
  color: rgba(246, 240, 231, 0.6);
  text-underline-offset: 3px;
}

.case-stats {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  margin: 0;
  border-top: 1px solid var(--hair);
}

.case-stats div {
  padding: 14px 18px;
}

.case-stats div + div {
  border-left: 1px solid var(--hair);
}

.case-stats dt {
  font: 600 9.5px/1.4 var(--text);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}

.case-stats dd {
  margin: 4px 0 0;
  font-size: 13.5px;
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cases-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 18px;
}

.cases-nav button {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid var(--hair);
  border-radius: 50%;
  background: rgba(2, 15, 24, 0.5);
  cursor: pointer;
  transition:
    border-color 0.2s,
    color 0.2s;
}

.cases-nav button:hover {
  border-color: var(--gold-2);
  color: var(--gold-2);
}

.cases-count {
  display: flex;
  align-items: center;
  gap: 12px;
  font: 500 12px/1 var(--text);
  letter-spacing: 0.12em;
  color: var(--muted);
}

.cases-count i {
  width: 48px;
  height: 1px;
  background: var(--hair);
}

.cases-count b {
  color: var(--ivory);
  font-weight: 500;
}

.proof .cta {
  margin-top: clamp(40px, 6vw, 64px);
}

/* Como funciona (seção clara, a mesma do site atual) */

.how {
  background:
    radial-gradient(80% 60% at 50% 0%, #fffaf3, transparent 70%),
    var(--paper);
  color: var(--ink);
}

.how .eyebrow {
  color: var(--wine);
}

.how .eyebrow::before {
  background: var(--wine);
  box-shadow: none;
}

.how-head {
  display: grid;
  justify-items: center;
  gap: 16px;
  margin-bottom: clamp(36px, 5vw, 56px);
}

.how-head .display {
  font-size: clamp(32px, 1rem + 2.6vw, 52px);
  color: var(--ink);
}

.how-head .display em {
  color: var(--wine);
  background: none;
  padding: 0;
}

.steps {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.steps li {
  position: relative;
  display: grid;
  gap: 10px;
  padding: 30px 28px 32px;
  border: 1px solid rgba(9, 32, 51, 0.14);
  border-radius: 4px;
  background: rgba(255, 250, 243, 0.7);
  box-shadow: 0 20px 40px -32px rgba(9, 32, 51, 0.45);
}

.steps li::before {
  counter-increment: step;
  content: counter(step, upper-roman);
  font: 500 44px/1 var(--display);
  color: var(--gold);
}

.steps h3 {
  margin: 0;
  font: 600 15px/1.35 var(--text);
  color: var(--ink);
}

.steps p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.65;
  color: rgba(9, 32, 51, 0.72);
}

@media (min-width: 820px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Formulário no fim da VSL */

.apply {
  background:
    radial-gradient(60% 50% at 50% 30%, rgba(87, 149, 177, 0.16), transparent 70%),
    radial-gradient(40% 40% at 90% 90%, rgba(102, 28, 37, 0.35), transparent 70%),
    linear-gradient(180deg, var(--navy), var(--deep));
  scroll-margin-top: 0;
}

.apply .wrap {
  display: grid;
  justify-items: center;
  gap: 20px;
  max-width: 680px;
}

.apply .display {
  font-size: clamp(32px, 1rem + 2.8vw, 52px);
  text-align: center;
}

.apply .lead {
  text-align: center;
  max-width: 50ch;
}

.apply [data-lp-form] {
  margin-top: 16px;
  text-align: left;
}

.apply .ad-fine {
  margin-top: 6px;
}

/* Rodapé */

.foot {
  padding: 48px var(--gutter) 40px;
  border-top: 1px solid var(--hair);
  background: var(--deep);
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
  text-align: center;
}

.foot .wrap {
  display: grid;
  justify-items: center;
  gap: 14px;
  max-width: 760px;
}

.foot p {
  margin: 0;
}

.foot nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 18px;
}

.foot nav a {
  color: var(--gold-2);
  text-decoration: none;
}

.foot nav a:hover {
  text-decoration: underline;
}

.foot .ad-logo {
  width: 120px;
  opacity: 0.9;
}

/* Revelação ao rolar */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.9s var(--ease),
    transform 0.9s var(--ease);
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

/* Entrada da primeira dobra */

.rise {
  animation: rise 0.9s var(--ease) both;
}

.rise:nth-child(2) {
  animation-delay: 0.08s;
}

.rise:nth-child(3) {
  animation-delay: 0.16s;
}

.rise:nth-child(4) {
  animation-delay: 0.24s;
}

.rise:nth-child(5) {
  animation-delay: 0.32s;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ========================================================= painel debug */

.lp-debug {
  position: fixed;
  right: 12px;
  bottom: 12px;
  z-index: 100;
  width: min(420px, calc(100vw - 24px));
  max-height: min(70vh, 640px);
  display: flex;
  flex-direction: column;
  border: 1px solid #2f718f;
  border-radius: 8px;
  background: rgba(2, 13, 22, 0.96);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
  font: 12px/1.5 ui-monospace, SFMono-Regular, Menlo, monospace;
  color: #cfe3ec;
}

.lp-debug-toggle {
  display: flex;
  justify-content: space-between;
  padding: 10px 14px;
  border: 0;
  background: #08283d;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.lp-debug-toggle b {
  color: var(--gold-2);
}

.lp-debug.is-collapsed .lp-debug-body {
  display: none;
}

.lp-debug-body {
  overflow: auto;
  padding: 10px 14px 14px;
}

.lp-debug-empty {
  margin: 4px 0 10px;
  color: #8799a3;
}

.lp-debug-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.lp-debug-list p {
  display: flex;
  justify-content: space-between;
  margin: 0 0 4px;
}

.lp-debug-tag {
  padding: 0 8px;
  border-radius: 99px;
  background: #2f718f;
  color: #fff;
  font-size: 11px;
}

.lp-debug-tag[data-tone='mql'] {
  background: #2e7d4f;
}

.lp-debug-tag[data-tone='lead'] {
  background: #7d2430;
}

.lp-debug pre {
  margin: 0;
  padding: 10px;
  border-radius: 6px;
  background: #061f32;
  white-space: pre-wrap;
  word-break: break-word;
}

.lp-debug-reset {
  margin-top: 12px;
  padding: 8px 12px;
  border: 1px solid #2f718f;
  border-radius: 6px;
  background: none;
  cursor: pointer;
  font: inherit;
}

/* Página 404 */

.notfound {
  min-height: 100svh;
  display: grid;
  place-items: center;
}
