:root {
  /* Tema preto */
  --bg: #060907;
  --surface: #0c110d;
  --ink: #f3f6ee;
  --muted: rgba(243, 246, 238, 0.55);
  --faint: rgba(243, 246, 238, 0.38);
  --chip: rgba(243, 246, 238, 0.06);
  --hairline: rgba(243, 246, 238, 0.08);

  /* Sua cor (mantida) */
  --text-dark: #1e230f; /* tinta escura usada sobre o botão lima */
  --text-accent: #b7d64a;
  --btn-start: #edfb80;
  --btn-end: #c8ef5e;
  --glow-a: 184, 214, 58;
  --glow-b: 237, 251, 128;
  --font-stack: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-stack);
  color: var(--ink);
  background: radial-gradient(125% 90% at 50% 108%, #123018 0%, #0a1109 42%, var(--bg) 72%);
  background-color: var(--bg);
  min-height: 100vh;
}

/* ---------- Preloader (tela de carregamento) ---------- */

.preloader {
  display: none;
}

/* Só aparece quando o JS está ativo (evita travar o site sem JS) */
.js .preloader {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(120% 90% at 50% 108%, #123018 0%, #0a1109 42%, var(--bg) 72%);
  background-color: var(--bg);
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

.js .preloader.is-done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.preloader__label {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--faint);
  animation: preloader-pulse 1.4s ease-in-out infinite;
}

.preloader__line {
  width: 220px;
  max-width: 60vw;
  height: 2px;
  border-radius: 999px;
  background: rgba(243, 246, 238, 0.12);
  overflow: hidden;
}

.preloader__line-fill {
  display: block;
  height: 100%;
  width: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--text-accent), var(--btn-start));
  transform: scaleX(0);
  transform-origin: left;
  animation: preloader-fill 1.6s cubic-bezier(0.65, 0, 0.35, 1) forwards;
}

@keyframes preloader-fill {
  to { transform: scaleX(1); }
}

@keyframes preloader-pulse {
  0%, 100% { opacity: 0.45; }
  50% { opacity: 1; }
}

/* ---------- Entrada dos elementos do hero ---------- */

.js .card {
  opacity: 0;
  transform: translateY(26px);
}

.js .card__bar,
.js .card__display,
.js .card__foot {
  opacity: 0;
  transform: translateY(14px);
}

body.loaded .card,
body.loaded .card__bar,
body.loaded .card__display,
body.loaded .card__foot {
  animation: hero-rise 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

body.loaded .card { animation-duration: 0.8s; }
body.loaded .card__bar { animation-delay: 0.16s; }
body.loaded .card__display { animation-delay: 0.30s; }
body.loaded .card__foot { animation-delay: 0.44s; }

@keyframes hero-rise {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .js .card,
  .js .card__bar,
  .js .card__display,
  .js .card__foot {
    opacity: 1;
    transform: none;
    animation: none;
  }
  .preloader__line-fill {
    animation-duration: 0.3s;
  }
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6vh 5vw;
}

/* ---------- Hero content (sem moldura, centralizado) ---------- */

.card {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 700px;
  padding: 26px 16px 30px;
}

.card__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Luz de fundo: baixa opacidade, seguindo o cursor pela tela toda */
.glow {
  position: absolute;
  inset: -20%;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(
    640px circle at var(--x, 50%) var(--y, 48%),
    rgba(var(--glow-a), 0.6) 0%,
    rgba(var(--glow-b), 0.26) 34%,
    rgba(var(--glow-b), 0) 64%
  );
  opacity: 0.28;
  filter: blur(26px);
  transition: opacity 0.6s ease;
  will-change: opacity;
}

.glow--secondary {
  background: radial-gradient(
    520px circle at var(--x2, 60%) var(--y2, 62%),
    rgba(var(--glow-b), 0.4) 0%,
    rgba(var(--glow-a), 0.16) 42%,
    rgba(var(--glow-a), 0) 70%
  );
  opacity: 0.16;
  animation: drift 16s ease-in-out infinite;
}

@keyframes drift {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(2%, -2%); }
}

@media (prefers-reduced-motion: reduce) {
  .glow {
    transition: none;
    animation: none;
  }
}

/* ---------- Top bar ---------- */

.card__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 34px;
}

.card__brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.card__mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: var(--btn-start);
  color: var(--text-dark);
}

.card__brand-label {
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.card__actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.card__pill {
  padding: 7px 15px;
  background: var(--chip);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--muted);
  white-space: nowrap;
}

.card__menu {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  width: 34px;
  height: 34px;
  background: var(--chip);
  border-radius: 50%;
}

.card__menu i {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--muted);
}

/* ---------- Display ---------- */

.card__display {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.badge {
  display: inline-block;
  padding: 0;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-accent);
  margin-bottom: 18px;
}

.headline {
  margin: 0 0 22px;
  font-size: clamp(1.9rem, 4.6vw, 3rem);
  font-weight: 500;
  line-height: 1.14;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.headline__lead {
  display: block;
}

.headline__accent {
  display: block;
  position: relative;
  color: var(--ink);
}

.headline__arrow {
  display: inline-block;
  vertical-align: text-top;
  margin-left: 2px;
  color: var(--text-accent);
}

.subtext {
  font-size: clamp(0.88rem, 1.3vw, 0.98rem);
  line-height: 1.55;
  max-width: 480px;
  margin: 22px 0 0;
  color: var(--muted);
}

.subtext .u {
  text-decoration: none;
  color: var(--ink);
}

/* ---------- Foot ---------- */

.card__foot {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 26px;
  margin-top: 34px;
}

.card__dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  width: 100%;
}

.card__dots span {
  height: 5px;
  width: 22px;
  border-radius: 999px;
  background: rgba(243, 246, 238, 0.16);
  transition: background 0.3s ease, width 0.3s ease;
}

.card__dots span.is-active {
  width: 40px;
  background: var(--text-accent);
}

/* ---------- Buttons ---------- */

.cta {
  appearance: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--text-dark);
  padding: 20px 52px;
  border-radius: 999px;
  background: linear-gradient(120deg, var(--btn-start), var(--btn-end));
  box-shadow: 0 12px 30px rgba(157, 175, 41, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(157, 175, 41, 0.35);
}

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

.cta:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.cta--block {
  display: block;
  width: 100%;
  text-align: center;
  text-decoration: none;
  font-size: 0.95rem;
  padding: 14px 32px;
}

/* ---------- Modal ---------- */

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(30, 32, 20, 0.45);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  z-index: 10;
}

.modal-overlay[hidden] {
  display: none;
}

.modal {
  position: relative;
  width: 100%;
  max-width: 460px;
  max-height: 90vh;
  overflow-y: auto;
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: 20px;
  padding: 36px 32px;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.6);
}

.modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  color: var(--ink);
  padding: 4px 8px;
}

.modal h2 {
  margin: 0 0 8px;
  font-size: 1.15rem;
  color: var(--ink);
}

.modal__subtitle {
  margin: 0 0 20px;
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.45;
}

.field {
  display: block;
  margin-bottom: 13px;
  font-size: 0.78rem;
  font-weight: 600;
}

.field span {
  display: block;
  margin-bottom: 5px;
}

.field {
  color: var(--ink);
}

.field input {
  width: 100%;
  padding: 10px 13px;
  border-radius: 10px;
  border: 1px solid rgba(243, 246, 238, 0.14);
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 400;
  color: var(--ink);
  background: rgba(243, 246, 238, 0.04);
}

.field input::placeholder {
  color: var(--faint);
}

.field input:focus {
  outline: 2px solid var(--text-accent);
  outline-offset: 1px;
}

.consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 16px 0 18px;
  font-size: 0.66rem;
  line-height: 1.45;
  color: var(--muted);
}

.consent input {
  margin-top: 3px;
  flex-shrink: 0;
  accent-color: var(--text-accent);
}

.consent a {
  color: var(--text-accent);
  font-weight: 600;
}

.form__error {
  color: #ff7a72;
  font-size: 0.85rem;
  margin: -8px 0 16px;
}

.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

#successView h2 {
  margin-bottom: 8px;
}

/* Em telas estreitas a headline não cabe numa linha só: volta a quebrar */
@media (max-width: 900px) {
  .headline {
    white-space: normal;
  }
}

@media (max-width: 480px) {
  .modal {
    padding: 28px 20px;
  }

  .cta {
    padding: 20px 40px;
    font-size: 1.1rem;
  }
}
