/* AP1 visual polish — confiança limpa (overrides Atomicat) */

:root {
  --ap1-bg: #f3f5f7;
  --ap1-bg-glow: rgba(148, 163, 184, 0.28);
  --ap1-text: #0f172a;
  --ap1-muted: #64748b;
  --ap1-action: #1b9e55;
  --ap1-action-hover: #15803d;
  --ap1-action-shadow: rgba(27, 158, 85, 0.28);
  --ap1-urgency: #b91c1c;
  --ap1-surface: #ffffff;
  --ap1-radius: 12px;
  --ap1-font: "Plus Jakarta Sans", system-ui, sans-serif;

  --modal-green: #1b9e55;
  --modal-green-dark: #15803d;
  --modal-text: #0f172a;
  --modal-muted: #64748b;
  --modal-border: #e2e8f0;
  --modal-overlay: rgba(15, 23, 42, 0.52);
}

/* Fix broken Atomicat utility */
.gap-12 {
  gap: 48px;
}

/* Base surface */
html {
  background-color: var(--ap1-bg);
}

body {
  background-color: var(--ap1-bg) !important;
  background-image:
    radial-gradient(ellipse 90% 55% at 50% -10%, var(--ap1-bg-glow), transparent 70%),
    radial-gradient(ellipse 60% 40% at 100% 100%, rgba(203, 213, 225, 0.35), transparent 65%);
  background-attachment: fixed;
  color: var(--ap1-text);
  line-height: 1.45 !important;
  font-family: var(--ap1-font) !important;
  -webkit-font-smoothing: antialiased;
}

body,
body center,
body dd,
body del,
body div,
body dt,
body em,
body footer,
body h1,
body h2,
body h3,
body h4,
body h5,
body h6,
body i,
body iframe,
body img,
body p,
body q,
body s,
body small,
body span,
body strike,
body strong,
body sub,
body sup,
body table,
body tbody,
body td,
body tr,
body u,
body a,
a.btn,
h1,
h1 b,
h1 span,
h2,
h2 b,
h2 span,
h3,
h3 b,
h3 span {
  font-family: var(--ap1-font) !important;
}

/* Sections — consistent padding, transparent over page atmosphere */
#division-gPoEnS6467271,
#division-1658581343653,
#division-1658582251300,
#division-naFtFI7449924 {
  background-color: transparent !important;
  border-radius: 0 !important;
  max-width: 920px;
  margin-left: auto !important;
  margin-right: auto !important;
}

#division-gPoEnS6467271 {
  padding: 2.5vh 5vw 1vh !important;
}

#division-1658581343653 {
  padding: 1vh 5vw 2vh !important;
}

#division-1658582251300 {
  padding: 2vh 5vw 4vh !important;
}

#division-naFtFI7449924 {
  padding: 3vh 5vw 5vh !important;
}

@media (max-width: 600px) {
  #division-gPoEnS6467271,
  #division-1658581343653,
  #division-1658582251300,
  #division-naFtFI7449924 {
    padding-left: 4vw !important;
    padding-right: 4vw !important;
  }
}

/* Broken Atomicat values */
.html-mtAdJw7449924-element div {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  letter-spacing: normal !important;
  line-height: 1.4 !important;
  color: var(--ap1-text) !important;
}

.headline-1658581343654lMpslJ-element h1 {
  letter-spacing: -0.02em !important;
  color: var(--ap1-text) !important;
  font-weight: 600 !important;
  line-height: 1.25 !important;
}

.headline-1658581343654lMpslJ-element h1 span,
.headline-1658581343654lMpslJ-element h1 b {
  color: var(--ap1-urgency) !important;
}

/* Logo */
.image-cjefMk4530784-element img {
  max-width: 160px !important;
  width: 100%;
  filter: drop-shadow(0 2px 8px rgba(15, 23, 42, 0.08));
}

@media (max-width: 600px) {
  .image-cjefMk4530784-element img {
    max-width: 140px !important;
  }
}

/* Balance badge — sober pill, no infinite pulse */
p.cryptoButton-rbQCup3428591-element {
  background-color: var(--ap1-action) !important;
  border-radius: 999px !important;
  color: #fff !important;
  font-weight: 700 !important;
  letter-spacing: 0.02em;
  box-shadow: 0 6px 20px var(--ap1-action-shadow) !important;
  padding: 14px 28px !important;
  margin: 1.25vh auto 1.5vh !important;
}

p.cryptoButton-rbQCup3428591-element.pulsing_rbQCup3428591:not(.ap1-enter) {
  animation: none !important;
}

/* Player */
.video-1658581462028Iuugbk {
  border-radius: var(--ap1-radius) !important;
  box-shadow:
    0 12px 40px rgba(15, 23, 42, 0.12),
    0 2px 8px rgba(15, 23, 42, 0.06) !important;
  overflow: hidden;
  margin-top: 0.5vh;
}

.video-1658581462028Iuugbk #smartplayer {
  border-radius: var(--ap1-radius) !important;
}

video.smartplayer-video {
  border-radius: var(--ap1-radius) !important;
}

/* Proof images */
.image-DYxxFW7509518-element img,
.image-qIbyhw0948312-element img,
.image-Dnyfrf7412922-element img {
  border-radius: 10px;
}

.image-qIbyhw0948312-element,
.image-Dnyfrf7412922-element {
  margin-top: 1.5vh;
}

/* CTA sticky — static shadow, soft hover, entrance once */
.btn-overlay-wrapper {
  bottom: 28px;
}

.btn-overlay-wrapper:not(.esconder) {
  animation: ap1CtaEnter 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.btn-overlay {
  position: relative;
  z-index: 1;
  font-family: var(--ap1-font) !important;
  background: var(--ap1-action) !important;
  border-radius: 999px !important;
  box-shadow: 0 8px 28px var(--ap1-action-shadow);
  letter-spacing: 0.04em;
  font-weight: 800 !important;
  padding: 16px 44px !important;
  overflow: visible;
  isolation: isolate;
  transition:
    transform 0.2s ease,
    background 0.2s ease !important;
}

.btn-overlay::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  z-index: -1;
  box-shadow: 0 0 0 0 rgba(27, 158, 85, 0.5);
  animation: ap1CtaPulseRing 1.6s ease-out infinite;
}

.btn-overlay:hover {
  background: var(--ap1-action-hover) !important;
  transform: scale(1.03) !important;
}

@keyframes ap1CtaPulseRing {
  0% {
    box-shadow: 0 0 0 0 rgba(27, 158, 85, 0.55);
    opacity: 1;
  }
  70% {
    box-shadow: 0 0 0 20px rgba(27, 158, 85, 0);
    opacity: 0;
  }
  100% {
    box-shadow: 0 0 0 0 rgba(27, 158, 85, 0);
    opacity: 0;
  }
}

.btn-lead {
  background: var(--ap1-action) !important;
  font-family: var(--ap1-font) !important;
  border-radius: 999px !important;
  font-weight: 800 !important;
}

.btn-lead:hover {
  background: var(--ap1-action-hover) !important;
  transform: scale(1.03);
}

/* Kill legacy infinite pulse / zoom noise */
.pulsing,
.zooming,
.pulsing_rbQCup3428591 {
  animation: none !important;
}

/* Modal */
.lead-modal {
  border-radius: 16px !important;
  box-shadow: 0 24px 64px rgba(15, 23, 42, 0.28) !important;
  font-family: var(--ap1-font) !important;
}

.lead-modal-header {
  background: var(--ap1-action) !important;
}

.lead-modal-header h2 {
  font-family: var(--ap1-font) !important;
  font-weight: 800 !important;
  letter-spacing: -0.01em;
}

.lead-modal-header p {
  font-family: var(--ap1-font) !important;
  opacity: 0.92;
}

.lead-close {
  border-radius: 10px;
  transition: background 0.15s ease;
}

.lead-close:hover {
  background: rgba(255, 255, 255, 0.28);
}

#leadForm label {
  font-family: var(--ap1-font) !important;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 11px !important;
}

#leadForm input {
  font-family: var(--ap1-font) !important;
  border-color: var(--modal-border) !important;
  border-radius: 10px !important;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

#leadForm input:focus {
  border-color: rgba(27, 158, 85, 0.65) !important;
  box-shadow: 0 0 0 4px rgba(27, 158, 85, 0.14) !important;
}

.submit-lead {
  font-family: var(--ap1-font) !important;
  background: var(--ap1-action) !important;
  border-radius: 999px !important;
  font-weight: 800 !important;
  letter-spacing: 0.03em;
  transition: background 0.2s ease, transform 0.15s ease;
}

.submit-lead:hover {
  background: var(--ap1-action-hover) !important;
  transform: translateY(-1px);
}

/* Footer */
.footer-KjKbbb7449924-element,
.footer-KjKbbb7449924-element a {
  color: var(--ap1-muted) !important;
  font-family: var(--ap1-font) !important;
  line-height: 1.55;
}

.footer-KjKbbb7449924-element a:hover {
  color: var(--ap1-text) !important;
  text-decoration: underline;
}

/* Entrance motion */
@keyframes ap1FadeUp {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes ap1FadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes ap1CtaEnter {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
}

.ap1-enter {
  animation: ap1FadeUp 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.ap1-enter-1 {
  animation-delay: 0.05s;
}

.ap1-enter-2 {
  animation-delay: 0.14s;
}

.ap1-enter-3 {
  animation-delay: 0.24s;
}

.ap1-enter-4 {
  animation: ap1FadeIn 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: 0.36s;
}

@media (prefers-reduced-motion: reduce) {
  .ap1-enter,
  .ap1-enter-1,
  .ap1-enter-2,
  .ap1-enter-3,
  .ap1-enter-4,
  .btn-overlay-wrapper:not(.esconder),
  .btn-inline-wrapper:not(.esconder) {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }

  .btn-overlay::after {
    animation: none !important;
    opacity: 0 !important;
  }

  .btn-overlay-wrapper:not(.esconder) {
    transform: translateX(-50%) !important;
  }

  .btn-overlay:hover,
  .btn-lead:hover,
  .submit-lead:hover {
    transform: none !important;
  }
}

/* Ensure entrance wins over legacy pulse killers after paint */
p.cryptoButton-rbQCup3428591-element.ap1-enter {
  animation: ap1FadeUp 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: 0.14s;
}
