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

:root {
  --color-primary: #7c3aed;
  --color-primary-soft: #a855f7;
  --color-primary-dark: #5b21b6;
  --color-accent: #ec4899;
  --color-bg-dark: #050816;
  --color-bg-card: #0b1020;
  --color-text: #f9fafb;
  --color-muted: #9ca3af;
  --color-border: #1f2937;
  --radius-xl: 24px;
  --radius-lg: 18px;
  --radius-full: 999px;
  --shadow-soft: 0 22px 44px rgba(15, 23, 42, 0.8);
  --transition-fast: 0.2s ease;
  --transition-med: 0.3s ease;
}

html,
body {
  height: 100%;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at top left, rgba(124, 58, 237, 0.45), transparent 55%),
              radial-gradient(circle at bottom right, rgba(236, 72, 153, 0.35), transparent 50%),
              #020617;
  color: var(--color-text);
}

/* WIZARD */

.wizard {
  min-height: 100vh;
}

.wizard__form {
  height: 100%;
}

/* STEP LAYOUT */

.step {
  display: none;
  min-height: 100vh;
}

.step--active {
  display: block;
}

.step__inner {
  display: flex;
  min-height: 100vh;
}

/* Left side (visual / copy) */

.step__left {
  flex: 1;
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.step__left::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top left, rgba(124, 58, 237, 0.9), transparent 60%),
              radial-gradient(circle at bottom right, rgba(15, 23, 42, 0.98), #020617);
  mix-blend-mode: multiply;
}

.step__left-overlay {
  position: relative;
  z-index: 1;
  padding: 2.5rem 3.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.step__logo {
  height: auto;
  width: 180px;
  margin-bottom: 2.5rem;
}

.step__headline h1 {
  font-size: 2.4rem;
  line-height: 1.15;
  max-width: 420px;
  margin-bottom: 0.85rem;
}

.step__headline h1 span {
  color: #f97316;
}

.step__headline p {
  max-width: 420px;
  color: var(--color-muted);
  font-size: 0.98rem;
}

.step__brands span {
  display: block;
  font-size: 0.85rem;
  color: var(--color-muted);
  margin-bottom: 0.35rem;
}

.step__brands ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem 1.4rem;
  font-size: 0.92rem;
}

.step__bullet-list ul {
  list-style: none;
  margin-top: 1.4rem;
  max-width: 430px;
}

.step__bullet-list li {
  position: relative;
  padding-left: 1.2rem;
  margin-bottom: 0.45rem;
  font-size: 0.92rem;
  color: var(--color-muted);
}

.step__bullet-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--color-accent);
}

/* Background images por etapa (substituir arquivos em /img) */

.step--1 .step__left {
  background-image: url("../img/step-1.jpg");
}

.step--2 .step__left {
  background-image: url("../img/step-2.jpg");
}

.step--3 .step__left {
  background-image: url("../img/step-3.jpg");
}

.step--4 .step__left {
  background-image: url("../img/step-4.jpg");
}

.step--5 .step__left {
  background-image: url("../img/step-5.jpg");
}

.step--6 .step__left {
  background-image: url("../img/step-6.jpg");
}

.step--7 .step__left {
  background-image: url("../img/step-7.jpg");
}

.step--8 .step__left {
  background-image: url("../img/step-8.jpg");
}

/* Right side (form) */

.step__right {
  flex: 1;
  background: #f9fafb;
  color: #0f172a;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step__right-inner {
  width: 100%;
  max-width: 480px;
  padding: 2.5rem 3rem;
}

.step__right-header {
  margin-bottom: 1.5rem;
}

.step__eyebrow {
  display: block;
  font-size: 0.85rem;
  color: #6b7280;
  margin-bottom: 0.4rem;
}

.step__eyebrow .js-nome-preview {
  font-weight: 600;
  color: #111827;
}

.step__right-header h2 {
  font-size: 1.6rem;
  line-height: 1.25;
  color: #111827;
}

/* Fields */

.field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 1.4rem;
}

.field span {
  font-size: 0.88rem;
  font-weight: 500;
  color: #374151;
}

.field input,
.field select {
  border-radius: 999px;
  border: 1px solid #d1d5db;
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
  outline: none;
  background: #f9fafb;
  transition:
    border-color var(--transition-fast),
    box-shadow var(--transition-fast),
    background var(--transition-fast);
}

.field input:focus,
.field select:focus {
  border-color: var(--color-primary-soft);
  background: #ffffff;
  box-shadow: 0 0 0 1px rgba(124, 58, 237, 0.35);
}

.field--error {
  border-color: #f97373 !important;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.8rem;
  border-radius: var(--radius-full);
  border: none;
  font-weight: 600;
  font-size: 0.96rem;
  cursor: pointer;
  text-decoration: none;
  transition:
    background var(--transition-fast),
    transform var(--transition-fast),
    box-shadow var(--transition-fast),
    color var(--transition-fast);
  white-space: nowrap;
}

.btn--primary {
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  color: #f9fafb;
  box-shadow: 0 14px 30px rgba(124, 58, 237, 0.55);
}

.btn--primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 40px rgba(124, 58, 237, 0.8);
}

/* Back link */

.back-link {
  border: none;
  background: transparent;
  padding: 0;
  margin-bottom: 1rem;
  font-size: 0.88rem;
  color: #6b7280;
  cursor: pointer;
}

.back-link:hover {
  color: #4b5563;
}

/* Testimonial */

.testimonial {
  margin-top: 2rem;
  padding: 1.2rem 1.1rem;
  border-radius: 1rem;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
  font-size: 0.88rem;
  color: #4b5563;
}

.testimonial blockquote {
  margin-bottom: 0.5rem;
  position: relative;
}

.testimonial blockquote::before {
  content: "“";
  font-size: 1.6rem;
  color: #f97316;
  margin-right: 0.15rem;
}

.testimonial figcaption {
  font-size: 0.8rem;
  color: #9ca3af;
}

/* Disclaimers & status */

.step__disclaimer {
  margin-top: 0.9rem;
  font-size: 0.78rem;
  color: #9ca3af;
}

.form-status {
  margin-top: 0.8rem;
  font-size: 0.84rem;
}

.form-status--sending {
  color: #d97706;
}

.form-status--success {
  color: #16a34a;
}

.form-status--error {
  color: #dc2626;
}

/* Thanks step */

.step__inner--thanks {
  align-items: center;
  justify-content: center;
  padding: 2.5rem 1.5rem;
}

.thanks-card {
  background: radial-gradient(circle at top left, rgba(124, 58, 237, 0.28), transparent 55%),
              radial-gradient(circle at bottom right, rgba(236, 72, 153, 0.3), transparent 55%),
              #020617;
  border-radius: 1.8rem;
  border: 1px solid rgba(148, 163, 184, 0.5);
  box-shadow: var(--shadow-soft);
  padding: 2.3rem 1.8rem 2.1rem;
  max-width: 620px;
  width: 100%;
  text-align: center;
}

.thanks-card__logo {
  height: 40px;
  margin-bottom: 1.3rem;
}

.thanks-card h2 {
  font-size: 1.8rem;
  margin-bottom: 0.7rem;
}

.thanks-card p {
  font-size: 0.95rem;
  color: var(--color-muted);
  margin-bottom: 0.9rem;
}

.thanks-card__video {
  margin-top: 0.8rem;
  border-radius: 1.2rem;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.7);
}

.thanks-card__video iframe {
  display: block;
  width: 100%;
  height: 260px;
}

/* Responsivo */

@media (max-width: 1040px) {
  .step__inner {
    flex-direction: column;
  }

  .step__left {
    min-height: 260px;
  }

  .step__left-overlay {
    padding: 1.8rem 1.6rem;
  }

  .step__headline h1 {
    font-size: 2rem;
  }

  .step__right-inner {
    max-width: 520px;
    padding: 2rem 1.8rem 3rem;
    margin: 0 auto;
  }
}

@media (max-width: 640px) {
  .step__headline h1 {
    font-size: 1.7rem;
  }

  .step__right-inner {
    padding: 1.8rem 1.4rem 2.5rem;
  }

  .btn {
    width: 100%;
  }
}
