:root {
  --bg-canvas: #080808;
  --bg-surface: #111111;
  --bg-surface-alt: #0d0d0d;
  --bg-well: #0a0a0a;
  --text-primary: #f5f3ee;
  --text-secondary: #b6b2a8;
  --text-muted: #9e9a90;
  --text-subtle: #77736a;
  --gold-light: #f6e29b;
  --gold-main: #d4af37;
  --gold-dark: #b58a1e;
  --font-display: "Outfit", system-ui, -apple-system, sans-serif;
  --font-sans: "DM Sans", system-ui, -apple-system, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
}

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

html {
  font-family: var(--font-sans);
  background-color: var(--bg-canvas);
  color: var(--text-primary);
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  min-height: 100vh;
  background-color: var(--bg-canvas);
  color: var(--text-primary);
  font-family: var(--font-sans);
  line-height: 1.5;
}

::selection {
  background-color: rgba(212, 175, 55, 0.3);
  color: #f8e7b0;
}

h1,
h2,
h3,
h4,
p {
  margin: 0;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  text-wrap: balance;
}

.page-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: var(--bg-canvas);
  color: var(--text-primary);
}

.top-gold-line {
  height: 2px;
  width: 100%;
  background: linear-gradient(
    90deg,
    rgba(212, 175, 55, 0) 0%,
    #d4af37 50%,
    rgba(212, 175, 55, 0) 100%
  );
}

.main-content {
  flex: 1 1 auto;
  width: 100%;
}

/* Dobra principal */
.hero-section {
  width: 100%;
  max-width: 1040px;
  margin: 0 auto;
  padding: 2rem 1.25rem 2.5rem;
}

.hero-header {
  max-width: 56rem;
  margin: 0 auto 1.75rem;
  text-align: center;
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 3.4vw, 2.75rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--text-primary);
}

.hero-subline {
  margin-top: 0.625rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #c8b06b;
}

.gold-gradient-text {
  background: linear-gradient(135deg, #f6e29b 0%, #d4af37 48%, #b58a1e 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Player VSL */
.vsl-wrapper {
  width: 100%;
  max-width: 920px;
  margin: 0 auto;
}

.vsl-card {
  position: relative;
  border-radius: 0.75rem;
  overflow: hidden;
  border: 1px solid rgba(212, 175, 55, 0.3);
  background-color: var(--bg-surface-alt);
  box-shadow: 0 24px 70px -20px rgba(0, 0, 0, 0.9);
}

.vsl-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background-color: var(--bg-canvas);
  overflow: hidden;
  user-select: none;
  -webkit-user-select: none;
}

.vsl-iframe-holder {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transform: scale(1.12);
  transform-origin: center center;
  pointer-events: none;
}

.vsl-iframe-holder iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.vsl-click-shield {
  position: absolute;
  inset: 0;
  z-index: 10;
  width: 100%;
  height: 100%;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
}

.vsl-click-shield:focus-visible {
  outline: 2px solid var(--gold-main);
  outline-offset: -2px;
}

.vsl-bottom-scrim {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10;
  height: 3rem;
  pointer-events: none;
  background: linear-gradient(
    to top,
    #080808 0%,
    rgba(8, 8, 8, 0.6) 55%,
    transparent 100%
  );
}

.vsl-pause-overlay {
  position: absolute;
  inset: 0;
  z-index: 20;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: rgba(9, 9, 9, 0.88);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  cursor: pointer;
  transition: opacity 200ms ease;
}

.vsl-pause-overlay.is-hidden {
  display: none;
}

.vsl-pause-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding: 0 1.5rem;
  text-align: center;
}

.vsl-play-circle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 5rem;
  height: 5rem;
  border-radius: 9999px;
  color: #080808;
  transition: transform 150ms ease, box-shadow 150ms ease;
}

.vsl-pause-overlay:hover .vsl-play-circle {
  transform: scale(1.05);
}

.vsl-play-circle svg {
  width: 2rem;
  height: 2rem;
  margin-left: 0.25rem;
}

.vsl-overlay-title {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text-primary);
}

.vsl-overlay-subtitle {
  margin-top: 0.25rem;
  font-size: 0.875rem;
  color: #a8a49b;
}

/* Barra de controles enxuta */
.vsl-controls {
  position: relative;
  z-index: 30;
  background-color: var(--bg-surface-alt);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.625rem 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.vsl-control-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  flex-shrink: 0;
  border-radius: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background-color: #151515;
  color: #e6c45a;
  cursor: pointer;
  transition: border-color 150ms ease, background-color 150ms ease, color 150ms ease;
}

.vsl-control-btn.is-mute-btn {
  color: #d8d4ca;
}

.vsl-control-btn:hover:not(:disabled) {
  border-color: rgba(212, 175, 55, 0.5);
  background-color: #1b1b1b;
  color: #e6c45a;
}

.vsl-control-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.vsl-control-btn:focus-visible {
  outline: 2px solid var(--gold-main);
}

.vsl-control-btn svg {
  width: 1rem;
  height: 1rem;
}

.vsl-control-btn .is-hidden {
  display: none;
}

.vsl-progress-track {
  position: relative;
  flex: 1 1 auto;
  height: 0.5rem;
  border-radius: 9999px;
  background-color: rgba(255, 255, 255, 0.1);
  overflow: hidden;
}

.vsl-progress-fill {
  width: 100%;
  height: 100%;
  border-radius: 9999px;
  transform-origin: left center;
  transform: scaleX(0.012);
  transition: transform 150ms linear;
  background: linear-gradient(90deg, #b58a1e 0%, #e6c45a 75%, #fff0b3 100%);
}

/* Superfície CTA dourada */
.gold-cta-surface {
  background: linear-gradient(180deg, #e6c45a 0%, #c99d28 100%);
  box-shadow:
    0 10px 30px -8px rgba(212, 175, 55, 0.35),
    inset 0 1px 0 rgba(255, 248, 220, 0.45);
}

.gold-cta-surface:hover {
  background: linear-gradient(180deg, #f0d06b 0%, #d4a932 100%);
  box-shadow:
    0 14px 36px -6px rgba(212, 175, 55, 0.48),
    inset 0 1px 0 rgba(255, 248, 220, 0.6);
}

/* Seção liberada após 8m45s */
.offer-section {
  width: 100%;
  max-width: 1040px;
  margin: 0 auto;
  padding: 3rem 1.25rem 5rem;
  animation: fadeIn 300ms ease-out;
}

.offer-section.is-hidden {
  display: none;
}

.offer-section > * + * {
  margin-top: 5rem;
}

.offer-lead-block {
  border-top: 1px solid rgba(212, 175, 55, 0.25);
  padding-top: 3rem;
  text-align: center;
}

.offer-lead-inner {
  max-width: 42rem;
  margin: 0 auto;
}

.offer-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.cta-stack {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  width: 100%;
  min-height: 56px;
  padding: 1rem 2rem;
  border-radius: 0.75rem;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: #080808;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 150ms ease, box-shadow 150ms ease;
}

.cta-button:hover {
  transform: translateY(-2px);
}

.cta-button:active {
  transform: translateY(0);
}

.cta-button:focus-visible {
  outline: 2px solid #f6e29b;
  outline-offset: 2px;
}

.cta-button svg {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
}

.trust-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  column-gap: 0.625rem;
  row-gap: 0.25rem;
  font-size: 0.75rem;
  color: #9b978e;
}

.trust-lock-item {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
}

.trust-lock-item svg {
  width: 0.875rem;
  height: 0.875rem;
  color: var(--gold-main);
}

/* Depoimentos e resultados */
.section-header-centered {
  max-width: 42rem;
  margin: 0 auto 2.5rem;
  text-align: center;
}

.section-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.section-subtitle {
  margin-top: 0.75rem;
  font-size: 0.875rem;
  line-height: 1.6;
  color: #a8a49b;
}

.proofs-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.proof-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-radius: 0.75rem;
  border: 1px solid rgba(212, 175, 55, 0.2);
  background-color: var(--bg-surface);
  padding: 1.25rem;
  transition: border-color 150ms ease;
}

.proof-card:hover {
  border-color: rgba(212, 175, 55, 0.45);
}

.proof-card-body {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.proof-person {
  display: flex;
  align-items: center;
  gap: 0.875rem;
}

.proof-avatar {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 9999px;
  object-fit: cover;
  object-position: center;
  border: 1px solid rgba(212, 175, 55, 0.35);
  background-color: #1a1a1a;
  flex-shrink: 0;
}

.proof-person-meta {
  min-width: 0;
}

.proof-name {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.proof-role {
  font-size: 0.75rem;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.proof-revenue-box {
  border-radius: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background-color: var(--bg-well);
  padding: 1rem;
}

.proof-revenue-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.proof-revenue-value-row {
  margin-top: 0.5rem;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem;
}

.proof-amount {
  font-family: var(--font-mono);
  font-size: 1.5rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  line-height: 1.2;
}

.proof-trend-icon {
  width: 1rem;
  height: 1rem;
  color: var(--gold-main);
  flex-shrink: 0;
}

.proof-quote {
  font-size: 0.875rem;
  line-height: 1.625;
  color: #d8d4ca;
}

/* Pilares */
.pillars-section {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 3.5rem;
}

.pillars-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.pillar-item {
  border-top: 1px solid rgba(212, 175, 55, 0.3);
  padding-top: 1.25rem;
}

.pillar-title {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text-primary);
}

.pillar-text {
  margin-top: 0.625rem;
  font-size: 0.875rem;
  line-height: 1.625;
  color: #a8a49b;
}

/* Chamada final */
.closing-card {
  border-radius: 1rem;
  border: 1px solid rgba(212, 175, 55, 0.35);
  background-color: var(--bg-surface);
  padding: 2.5rem 1.5rem;
  text-align: center;
}

.closing-inner {
  max-width: 42rem;
  margin: 0 auto;
}

.closing-cta-wrap {
  margin-top: 1.75rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

/* Rodapé */
.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.5rem 1.25rem;
  text-align: center;
  font-size: 0.75rem;
  color: var(--text-subtle);
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsivo >= 640px */
@media (min-width: 640px) {
  .hero-section {
    padding: 3rem 2rem 2.5rem;
  }

  .hero-header {
    margin-bottom: 2.25rem;
  }

  .hero-subline {
    font-size: 1rem;
  }

  .vsl-overlay-title {
    font-size: 1.25rem;
  }

  .vsl-controls {
    padding: 0.625rem 1rem;
  }

  .offer-section {
    padding: 3rem 2rem 5rem;
  }

  .offer-title {
    font-size: 2.25rem;
  }

  .section-title {
    font-size: 1.875rem;
  }

  .section-subtitle {
    font-size: 1rem;
  }

  .cta-button {
    width: auto;
    padding: 1rem 3rem;
    font-size: 1.125rem;
  }

  .trust-line {
    font-size: 0.875rem;
  }

  .proof-card {
    padding: 1.5rem;
  }

  .closing-card {
    padding: 3.5rem 3rem;
  }
}

/* Responsivo >= 768px */
@media (min-width: 768px) {
  .proofs-grid,
  .pillars-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

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

  * {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
