:root {
  --bg: #f7f2ea;
  --surface: #fffaf2;
  --surface-2: #f0e6d8;
  --text: #1f1a16;
  --muted: #74685c;
  --border: rgba(31, 26, 22, 0.14);
  --accent: #580c11;
  --whatsapp: #1f9d55;
  --shadow: 0 24px 80px rgba(31, 26, 22, 0.1);
  --radius-xl: 30px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --max: 1120px;
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background:
    radial-gradient(
      circle at top left,
      rgba(205, 179, 143, 0.34),
      transparent 34rem
    ),
    radial-gradient(
      circle at bottom right,
      rgba(31, 26, 22, 0.08),
      transparent 28rem
    ),
    var(--bg);
  color: var(--text);
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
textarea,
select {
  font: inherit;
}
button {
  cursor: pointer;
}
.page {
  width: min(100%, var(--max));
  margin: 0 auto;
  padding: 22px;
}
.topbar {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.topbar.compact {
  margin-bottom: 18px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: -0.03em;
}
.brand-mark {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--accent);
  color: var(--surface);
}
.nav {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--muted);
  font-weight: 650;
}
.nav-cta,
.ghost-link {
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--text);
  background: rgba(255, 250, 242, 0.55);
}
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  align-items: center;
  gap: 42px;
  padding: 72px 0 54px;
}
.eyebrow,
.small-label {
  margin: 0 0 10px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.76rem;
  font-weight: 800;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1 {
  font-size: clamp(2.75rem, 8vw, 6.2rem);
  line-height: 0.93;
  letter-spacing: -0.08em;
  margin-bottom: 24px;
}
h2 {
  font-size: clamp(1.75rem, 4vw, 3rem);
  letter-spacing: -0.06em;
  line-height: 1;
}
h3 {
  letter-spacing: -0.04em;
}
.hero-text {
  max-width: 680px;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  line-height: 1.65;
}
.hero-actions,
.final-actions,
.wizard-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}
.btn {
  min-height: 52px;
  border: 0;
  border-radius: 999px;
  padding: 0 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 850;
  letter-spacing: -0.02em;
  transition: 0.18s ease;
}
.btn:hover {
  transform: translateY(-1px);
}
.btn-primary {
  background: var(--accent);
  color: var(--surface);
  box-shadow: 0 14px 32px rgba(31, 26, 22, 0.22);
}
.btn-secondary {
  background: rgba(255, 250, 242, 0.72);
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-whatsapp {
  background: var(--whatsapp);
  color: #fff;
  box-shadow: 0 14px 32px rgba(31, 157, 85, 0.22);
}
.btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
}
.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
  color: var(--muted);
  font-size: 0.92rem;
}
.trust-row span {
  border: 1px solid var(--border);
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(255, 250, 242, 0.48);
}
.hero-card,
.form-shell,
.final-shell {
  background: rgba(255, 250, 242, 0.76);
  backdrop-filter: blur(22px);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}
.hero-card {
  padding: 24px;
}
.song-preview {
  display: flex;
  align-items: center;
  gap: 16px;
}
.song-disc {
  width: 88px;
  height: 88px;
  flex: 0 0 auto;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background:
    radial-gradient(
      circle,
      transparent 0 15%,
      rgba(255, 250, 242, 0.9) 16% 22%,
      transparent 23%
    ),
    conic-gradient(from 80deg, #1f1a16, #725d4d, #1f1a16, #c4ad8c, #1f1a16);
  color: white;
  font-size: 1.8rem;
  box-shadow: inset 0 0 0 8px rgba(255, 255, 255, 0.08);
}
.song-preview h2 {
  margin-bottom: 6px;
  font-size: 1.7rem;
}
.song-preview p:last-child {
  color: var(--muted);
  margin-bottom: 0;
}
.wave {
  height: 92px;
  margin: 30px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}
.wave span {
  width: 100%;
  border-radius: 999px;
  background: var(--accent);
  opacity: 0.86;
}
.wave span:nth-child(1) {
  height: 20%;
}
.wave span:nth-child(2) {
  height: 44%;
}
.wave span:nth-child(3) {
  height: 76%;
}
.wave span:nth-child(4) {
  height: 38%;
}
.wave span:nth-child(5) {
  height: 90%;
}
.wave span:nth-child(6) {
  height: 58%;
}
.wave span:nth-child(7) {
  height: 28%;
}
.wave span:nth-child(8) {
  height: 68%;
}
.wave span:nth-child(9) {
  height: 42%;
}
.wave span:nth-child(10) {
  height: 84%;
}
.wave span:nth-child(11) {
  height: 54%;
}
.wave span:nth-child(12) {
  height: 24%;
}
.brief-card,
.note-box,
.empty-state {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 18px;
  background: rgba(240, 230, 216, 0.42);
}
.brief-card p,
.note-box p,
.empty-state p {
  color: var(--muted);
  line-height: 1.55;
  margin-bottom: 0;
}
.section {
  padding: 44px 0;
}
.section-head {
  max-width: 720px;
  margin-bottom: 24px;
}
.section-head p {
  color: var(--muted);
  line-height: 1.6;
}
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.step {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px;
  background: rgba(255, 250, 242, 0.58);
}
.step span {
  width: 38px;
  height: 38px;
  border-radius: 14px;
  background: var(--accent);
  color: var(--surface);
  display: grid;
  place-items: center;
  font-weight: 900;
  margin-bottom: 20px;
}
.step p {
  color: var(--muted);
  line-height: 1.58;
  margin-bottom: 0;
}
.cta-section {
  margin: 44px 0 28px;
  border-radius: var(--radius-xl);
  background: var(--accent);
  color: var(--surface);
  padding: clamp(24px, 5vw, 48px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.cta-section p {
  color: rgba(255, 250, 242, 0.72);
  line-height: 1.6;
  margin-bottom: 0;
}
.cta-section .btn-primary {
  background: var(--surface);
  color: var(--accent);
  box-shadow: none;
}
.form-shell,
.final-shell {
  padding: clamp(18px, 4vw, 34px);
}
.form-shell {
  max-width: 820px;
  margin: 0 auto 40px;
}
.progress-wrap {
  margin-bottom: 26px;
}
.progress-info {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
}
.progress-info span {
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 700;
}
.progress-info strong {
  text-align: right;
  font-size: 1.1rem;
  letter-spacing: -0.04em;
}
.progress-track {
  height: 10px;
  background: var(--surface-2);
  border-radius: 999px;
  overflow: hidden;
}
.progress-bar {
  height: 100%;
  width: 14%;
  background: var(--accent);
  border-radius: inherit;
  transition: width 0.25s ease;
}
.form-step {
  display: none;
}
.form-step.active {
  display: block;
  animation: stepIn 0.2s ease;
}
@keyframes stepIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.field {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
}
.field span {
  font-weight: 850;
  letter-spacing: -0.03em;
}
.field input,
.field textarea,
.field select {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: rgba(255, 250, 242, 0.75);
  color: var(--text);
  padding: 15px 16px;
  outline: none;
  transition: 0.18s ease;
}
.field textarea {
  resize: vertical;
  min-height: 120px;
  line-height: 1.55;
}
.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: rgba(31, 26, 22, 0.45);
  box-shadow: 0 0 0 4px rgba(31, 26, 22, 0.08);
}
.field small {
  color: var(--muted);
  text-align: right;
}
.choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}
.choice {
  min-height: 58px;
  padding: 14px 16px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: rgba(255, 250, 242, 0.64);
  color: var(--text);
  text-align: left;
  font-weight: 800;
}
.choice.active {
  background: var(--accent);
  color: var(--surface);
  border-color: var(--accent);
}
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.wizard-actions {
  justify-content: space-between;
  border-top: 1px solid var(--border);
  padding-top: 20px;
}
.summary-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(340px, 1.18fr);
  gap: 18px;
}
.summary-card,
.message-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
  background: rgba(255, 250, 242, 0.58);
}
.summary-top,
.message-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}
.summary-top h2,
.message-head h2 {
  font-size: 1.55rem;
  margin-bottom: 0;
}
.pill {
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 8px 10px;
  font-size: 0.84rem;
  color: var(--muted);
  font-weight: 800;
  background: rgba(255, 250, 242, 0.72);
}
.summary-list {
  display: grid;
  gap: 12px;
}
.summary-item {
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.summary-item:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}
.summary-item span {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 850;
  margin-bottom: 5px;
}
.summary-item strong {
  white-space: pre-wrap;
  line-height: 1.5;
}
.icon-btn {
  min-height: 38px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 250, 242, 0.72);
  color: var(--text);
  font-weight: 850;
}
.message-card pre {
  white-space: pre-wrap;
  word-break: break-word;
  max-height: 520px;
  overflow: auto;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: rgba(31, 26, 22, 0.04);
  color: var(--text);
  line-height: 1.55;
  margin: 0;
}
.fine-print {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
}
.empty-state {
  text-align: center;
  max-width: 560px;
  margin: 0 auto;
}
.hidden {
  display: none !important;
}
.toast {
  position: fixed;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%) translateY(20px);
  opacity: 0;
  pointer-events: none;
  background: var(--accent);
  color: var(--surface);
  padding: 12px 16px;
  border-radius: 999px;
  font-weight: 800;
  transition: 0.2s ease;
  z-index: 10;
}
.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
@media (max-width: 860px) {
  .page {
    padding: 16px;
  }
  .nav {
    display: none;
  }
  .hero {
    grid-template-columns: 1fr;
    padding: 38px 0;
  }
  .hero-card {
    order: -1;
  }
  .steps,
  .summary-layout {
    grid-template-columns: 1fr;
  }
  .cta-section {
    align-items: stretch;
    flex-direction: column;
  }
  .choice-grid,
  .split {
    grid-template-columns: 1fr;
  }
  .progress-info {
    align-items: start;
    flex-direction: column;
  }
  .progress-info strong {
    text-align: left;
  }
  .wizard-actions .btn,
  .final-actions .btn,
  .hero-actions .btn,
  .cta-section .btn {
    width: 100%;
  }
  .summary-top,
  .message-head {
    flex-direction: column;
  }
  h1 {
    letter-spacing: -0.07em;
  }
}
